NOTICE: This website will be shut down in the near future. Product content has moved to nxp.com. Forum content and FAQs have been moved to community.nxp.com. We encourage you to create a user account on nxp.com to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.

 

Changing the initial breakpoint on debug startup

lpcxpresso-support's picture

When the debugger starts, it automatically sets an initial (temporary) breakpoint on the first statement in main().

If desired, you can change where this initial breakpoint is set, or even remove it completely as follows:

  • Right-click on your project in Project Explorer
  • Select Launch Configurations -> Edit Current
  • in the Debug Configurations dialog, select the Debug or Release configuration for your project
  • click on the Debugger tab
  • To change where the initial breakpoint is set, change the symbol in "Stop on startup at"
    • To break at a specific address, use the syntax *<address>
  • To stop an initial breakpoint being set, uncheck the "Stop on startup at" checkbox
  • Apply and debug your project
1
Your rating: None Average: 1 (1 vote)
feedback