Keil Logo

µVISION DEBUGGER: Breakpoint at empty line


Information in this knowledgebase article applies to:

  • MDK-ARM V5

SYMPTOM

Debugging my application I am surprised that a breakpoint refers to an empty line, as illustrated at this screenshot:

What is the reason and how can I get this solved?

CAUSE

Breakpoints are program addresses or expressions that, when set, halt program execution or execute a specified command. They are accessible in µVision's Source Code Editor as well as at the Debugger.

Breakpoints can shift up or down if you insert or delete source code lines in your code while running the Debugger. Stopping and restarting the debugger corrects the alignment.

Another reason can be that your latest code changes have not been built and flashed to your target. In such a situation you are debugging an image on your target, which does not match your latest modifications. Rebuilding and downloading your latest image corrects this.

Note: When a breakpoint appears to refer to an empty line, that actual line of code associated with the breakpoint will be executed.

RESOLUTION

Build and flash your application to the target after changes to the code, before you start the Debugger.

MORE INFORMATION

SEE ALSO

Last Reviewed: Thursday, September 22, 2016


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.