Moving breakpoint problem

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by jdupre on Tue Aug 18 11:27:38 MST 2015
LPCxpresso v7.9.0:

Normally when I add or remove lines from code, breakpoints will stay "fixed" to the original code line that they were set at.  In other words, if I add a line, breakpoints below the line will shift down.  If I delete a line, the following breakpoints will shift up.  This is the correct behavior.

However, if the debugger is running when the code is edited, the breakpoints will not shift according to the changes and they end up in the wrong position when the debugger is halted or restarted.

Can this be fixed so the breakpoints stay affixed to the line that there were intended for?

- Joe