cancel
Showing results for 
Search instead for 
Did you mean: 

Does stm32cubeide debugger limit number of images to load?

ari_v2
Senior

Hi,

I need to debug several axf files. In 'debug configurations' -> Startup, I added the axf files that contain debug information. It works fine but only up to 4 files. If I load 5'th file the debugger presents the message:

"Failed to insert all hardware breakpoints:

You may have requested too many hardware breakpoints/watchpoints"

Then debug session is terminated.

Is there a way to overcome this problem?

Thank you

2 REPLIES 2
KnarfB
Principal III

Have seen this error if I tried to set more breakpoints than supported by the ARM debug peripheral of the core. Double-check your breakpoints set and alos check if the debugger startup is configured to auto-insert a breakpoint at main (which consumes one additional breakpoint).

hth

KnarfB

ari_v2
Senior

Hi,

Thanks for response.

This issue occurs also when "insert a breakpoint at main" is unchecked.