There are two settings to adjust the color of the line pointer while debugging an application in Eclipse. The distinction between them may not clear, so it will be made here.
The settings are located in:
The settings are Debug Call Stack and Debug Current Instruction Pointer. The latter is the one that shows the line the debugger is currently stopped at. If the "Vertical ruler" checkbox is ticked, a right-pointing arrow will show up along the left edge of the editor window. If the "Overview ruler" box is ticked, then a little marker, the same color as the pointer color, will show up along the right edge of the editor.
For the former item, this refers to the settings that apply to any other line in the call stack. So, the debugger "jumps" around the code when a line in the call stack is selected. The color of that line and its ruler settings compared to the current line can be set differently. Though subtle, a further visual cue between the two pointers is the lighter shade of the right-pointing arrow in the Vertical ruler.
The call stack is available from the Debug view (Window | Show View).
This Stack Overflow answer shows a good example of a call stack.
How to get the call stack of a function in eclipse android during debugging?
http://stackoverflow.com/questions/10865613/how-to-get-the-call-stack-of-a-function-in-eclipse-android-during-debugging/10865914#10865914
The settings are located in:
- Window | Preferences
- General | Editors | Text Editors | Annotations
The settings are Debug Call Stack and Debug Current Instruction Pointer. The latter is the one that shows the line the debugger is currently stopped at. If the "Vertical ruler" checkbox is ticked, a right-pointing arrow will show up along the left edge of the editor window. If the "Overview ruler" box is ticked, then a little marker, the same color as the pointer color, will show up along the right edge of the editor.
For the former item, this refers to the settings that apply to any other line in the call stack. So, the debugger "jumps" around the code when a line in the call stack is selected. The color of that line and its ruler settings compared to the current line can be set differently. Though subtle, a further visual cue between the two pointers is the lighter shade of the right-pointing arrow in the Vertical ruler.
The call stack is available from the Debug view (Window | Show View).
This Stack Overflow answer shows a good example of a call stack.
How to get the call stack of a function in eclipse android during debugging?
http://stackoverflow.com/questions/10865613/how-to-get-the-call-stack-of-a-function-in-eclipse-android-during-debugging/10865914#10865914
Comments
Post a Comment