 | Discussion Forum |  |
|
|
Breakpoints and C code lines don't match upNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Dave Fords Posted 11-Jun-2004 18:41 GMT Toolset C51 |  Breakpoints and C code lines don't match up Dave Fords I am using uVision V2.10 and sometimes have problems in the debugger setting breakpoints. Code lines that allow you to set breakpoints have a grey block on the left side of the code display.
I get these grey blocks on some function declaration lines and final closing braces. Lines of C code are also skipped sometimes, although the code is executed. I can't set a breakpoint on these lines.
Can anyone help? Thanks | | Read-Only Author erik malund Posted 11-Jun-2004 19:35 GMT Toolset C51 |  RE: Breakpoints and C code lines don't match up erik malund No debugger (I know of) can handle optimized code. Even at the default optimization there will be a few cases of this.
Erik | | Read-Only Author Dave Fords Posted 11-Jun-2004 19:55 GMT Toolset C51 |  RE: Breakpoints and C code lines don't match up Dave Fords Thanks Erik, Reducing code optimization did help. | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|