Xcode's green program execution marker does not work under LLDB

Originator:nathan
Number:rdar://11225108 Date Originated:11-Apr-2012 02:26 PM
Status:Open Resolved:No
Product:Developer Tools Product Version:4.3.2 (1177)
Classification:Serious Bug Reproducible:Yes
 
Summary:

By dragging the green program execution marker in the breakpoint margin of Xcode, it's possible to skip the execution of lines of code. For example, if the debugger has halted execution on line 1 of a file, dragging the green marker to line 5 will cause the program to not execute lines 1-4. This works well under GDB, but under LLDB lines 1-4 are unexpectedly executed.

Steps to Reproduce:

1. Place a breakpoint on a line of code that you'd like to skip.
2. Run the application until the debugger breaks on that line of code, showing the green program execution marker.
3. Drag the green marker to the line after the line that the debugger has stopped at.

Expected Results:

The line of code that the debugger stopped on should not have been evaluated.

Actual Results:

Under LLDB, all lines of code are evaluated.

Regression:

GDB works correctly, LLDB does not.

Notes:

This could be related to the lack GDB's `jump LINENO` under LLDB. I've filed a separate radar for that, which can be found here rdar://11225086

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!