AnsweredAssumed Answered

Breakpoints move while editing

Question asked by Larry Carter on Dec 2, 2013
Latest reply on Dec 3, 2013 by Jorge_Gonzalez

I am using CodeWarrior and a Freedom board.  After setting a breakpoint, ANY edit of the source code above the line causes the breakpoint to stay with the editor line number and not stay with the source code line it was set on.  Thus I must delete all of my breakpoints and add new ones at the line I want to break when I go back into the debugger.  How do I get the breakpoints to stay with the source code line?

 

1) The behavior is, set a breakpoint at a line of code.  All is well.

2) Add a extra blank line in the source code above the breakpoint and recompile.

3)  When I go back into the debugger, the breakpoint jumps to line of code above its previous position.

 

Thanks for your help

Outcomes