View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0032091||Lazarus||Debugger||public||2017-07-02 10:59||2017-07-03 09:03|
|Reporter||Julius||Assigned To||Martin Friebe|
|Summary||0032091: Single Quote ( ' ) in an uncommented line in a conditional define causes debugger to offset|
|Description||I had a conditional define that was only for release mode (picture attached). I wanted an uncommented invalid line in it so that when building my release it stopped there to remind me, or anyone else, to do stuff. By chance I had typed something like: |
Address these issues, 'k?
Then I noticed that I couldn't debug properly anymore. See the attached picture, all breakpoint indicators were offset by one in the up direction. A breakpoint on the first line of a procedure, for example, wouldn't break at all. I spent two days tracking down this problem!!! Simply removing the ' from the uncommented line restored proper debugging.
|Steps To Reproduce||In an IFDEF block (but make sure it is undefined) type an uncommented line with an ' in it. Build. Run. Look at your breakpoint indicators...they are wrong and it does interfere with debugging.|
|Additional Information||If the above situation simply take out the naked, single ' |
and all is well again. Maybe this is already fixed but I wanted to alert you so that no one else falls into this situation.
|Tags||No tags attached.|
|Fixed in Revision|