2025-07-28 11:38 PM - last edited on 2025-07-29 1:01 AM by Andrew Neil
Hello, I'm trying to set the debug configuration of my project, but I cannot open the debug file under C/C++ Application. Besides, running this project was not successful either.
I have tried switching workspace and uninstalling IDE, but neither worked.
Can anyone help me solve my problem? Thank you very much.
2025-07-29 12:55 AM
Version of STM32CubeIde?
Version 1.18 are buggy - update to 1.19
2025-07-29 12:59 AM - edited 2025-07-29 1:10 AM
Did you try pressing the 'Details' button?
The message says, "Out of bounds for length 48".
The name of your Debug Configuration is very long* - maybe it's too long?
Maybe try just shortening the name?
PS:
* The name certainly is over 48 characters!
2025-07-29 1:15 AM
Mine is 1.19, already the latest one
2025-07-29 1:23 AM
Hello @mbarg.1
Try follow the steps in this article : How to debug STM32N6 using STM32CubeIDE
2025-07-29 1:24 AM
Details are the same. I tired to rename the project to make its name shorter, but it didn't work either.
Then I opened another project, and found its run configuration back to normal. So I assume the problem lies in the project. But the project is the example AI demo project of STM32N6 and I'm stuck here:(
2025-07-29 1:37 AM - edited 2025-07-29 1:38 AM
@Levy-hy , Did you make any changes to the Demo project?
Check Project configuration, such as memory allocation and linker scripts are correctly configured.
You can also, perform a clean build of the project to ensure no corrupted files are causing this issue.
2025-07-29 2:37 AM
It also says, "see the error log for more details"
I think that should be in the .metadata\.plugins\org.eclipse.cdt.ui folder in your workspace - perhaps @Imen.D can confirm?
2025-07-29 3:42 AM
You are right @Andrew Neil. As you mentioned, it will be better to check and share the error log in the .metadata\.plugins\org.eclipse.cdt.ui folder.
2025-08-01 1:58 AM - edited 2025-08-01 5:34 AM
Hi @Levy-hy ,
Which AI demo project of STM32N6 used? Have you made any updates on the working example?
Do you have the same issue with old CubeIDE version ?
Check if the project has been compiled correctly and .elf executable file has been generated.
Try delete the debug configuration, which appears to be corrupted, and create another one.
Otherwise, please share the log file from the STM32CubeIDE 1.19.0 workspace.