Skip to main content
ari_v2
Senior
January 12, 2023
Question

Does stm32cubeide debugger limit number of images to load?

  • January 12, 2023
  • 2 replies
  • 1100 views

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

This topic has been closed for replies.

2 replies

KnarfB
Super User
January 12, 2023

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
ari_v2Author
Senior
January 16, 2023

Hi,

Thanks for response.

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