Freigeben über


Did you know… How to highlight the entire source code line when either the a breakpoint is set or the line is the current statement - #293

Hooray!!! A tip that’s more IDE-centric than debugger-centric!

Under Tools – Options – Debugging – General, there’s the option “Highlight entire source line for breakpoints and current statement.”

Highlight entire source line for breakpoints and current statement

When checked, you’ll see the entire line highlighted, as shown below:

breakpoint highlight extends across editor

When unchecked, you’ll only see the red circle in the indicator margin, as shown below:

no breakpoint highlight, just a red circle

Technorati Tags: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    August 18, 2008
    The comment has been removed

  • Anonymous
    August 18, 2008
    The comment has been removed

  • Anonymous
    August 19, 2008
    The comment has been removed

  • Anonymous
    August 19, 2008
    The original title for this tip was "Did you know... this feature is broken" and Sunday night, it starts to work for me. I changed the tip to how it works, since it was working for me and i was able to get the screenshots. but yeah, i've seen it work and not work for various languages. not sure why. i don't have any inside knowledge into the debugger like i have with the core IDE.

  • Anonymous
    January 15, 2009
    本篇包括tip291-tip300http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-29.html#291、启动时...