Keil Logo

µVISION DEBUGGER: BREAKPOINTS LOST WITH SEVERAL APPLICATIONS


Information in this article applies to:

  • µVision Version 2.38 or higher
  • Cx51 Compiler
  • C166 Compiler

QUESTION

I have a complex project that consists of several applications. When I set breakpoints, the µVision debugger forgets the settings. Is there a way that µVision remembers old breakpoint settings?

ANSWER

Yes. The LOAD command in µVision has an INCREMENTAL option that adds debug information to the symbol table (instead of replacing it). When you use LOAD file INCREMENTAL, the Debugger will remember the breakpoint settings.

Typically, you would use a Debugger Initialization (INI) file that contains all the load commands. The INI file, which is specified in µVision under Options for Target — Debug — Initilziation File, should have the following commands:

load MyApp1 incremental
load MyApp2 incremental
load MyApp3 incremental

MORE INFORMATION

  • Refer to LOAD in the µVision User's Guide.

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Friday, February 24, 2017


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.