Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

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: ,
Posted: Monday, August 18, 2008 3:00 AM by saraford

Comments

Antony said:

This seems to have no effect for C# files. Here the entire line is always highlighted for breakpoints whether this option is checked or not.

# August 19, 2008 3:56 AM

Rubio said:

That's interesting. On my VS2008 this option has no effect. The breakpoint line is always highlighted. I wish it weren't.

# August 19, 2008 8:42 AM

saraford said:

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.

# August 19, 2008 1:04 PM

xjb said:

# January 16, 2009 3:52 AM
New Comments to this post are disabled
Page view tracker