Keil Logo

µVISION DEBUGGER: Breakpoint at empty line

Information in this knowledgebase article applies to:

  • Keil MDK 5


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?


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.


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



Last Reviewed: Wednesday, October 21, 2020

Did this article provide the answer you needed?
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.