cancel
Showing results for 
Search instead for 
Did you mean: 

"Range [0,-1) out of bounds for length 48" trying to open Debug Configuration

Levy-hy
Associate II

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.

Levyhy_0-1753770582011.png

I have tried switching workspace and uninstalling IDE, but neither worked.

Can anyone help me solve my problem? Thank you very much.

8 REPLIES 8
mbarg.1
Senior III

Version of STM32CubeIde?

Version 1.18 are buggy - update to 1.19

Andrew Neil
Super User

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!

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Mine is 1.19, already the latest one

Imen.D
ST Employee

Hello @mbarg.1 

Try follow the steps in this article : How to debug STM32N6 using STM32CubeIDE

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Levyhy_0-1753777014899.png

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:( 

 

@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.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

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?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

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.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen