Highlight the color marker similar to what we do for the column marker.
Details
Diff Detail
Event Timeline
If we are going to use this to to ansi stuff we should ensure the suffix works too. The current testing example will turn the line green along with all lines that follow if all other ansi stuff is removed. Right now I am guessing we are getting lucky because something else is doing the ansi reset. Once that is tested, this will be good to go.
lldb/test/Shell/Settings/TestLineMarkerColor.test | ||
---|---|---|
4 | test suffix? | |
8 | test suffix? |
lldb/source/Core/Debugger.cpp | ||
---|---|---|
443 | do we have a setting to control how the current line marked? Right now do we hard code it to "->"? When I stop I see: (lldb) b main Breakpoint 1: where = a.out`main + 20 at main.cpp:5:14, address = 0x0000000100000fa4 (lldb) r Process 1635 launched: '/Users/gclayton/Documents/src/args/a.out' (x86_64) Process 1635 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100000fa4 a.out`main(argc=1, argv=0x00007ffeefbff7d0) at main.cpp:5:14 2 return 2*i; 3 } 4 int main(int argc, const char **argv) { -> 5 int i = foo(argc); 6 return 0; 7 } 8 Can we make this setting default to "-> " so that the user can change how the current line is marked above and beyond using a color or ansi code? |
lldb/source/Core/Debugger.cpp | ||
---|---|---|
443 | It's probably doable but I'm not sure if it's worth it:
|
do we have a setting to control how the current line marked? Right now do we hard code it to "->"?
When I stop I see:
Can we make this setting default to "-> " so that the user can change how the current line is marked above and beyond using a color or ansi code?