Tony_Henrich
Tony_Henrich

Reputation: 44085

How to change/disable highlight color of breakpoint lines in Visual Studio 2012 RC?

I am using Visual Studio 2012 RC with a dark background in the editor. I am NOT using the dark color theme. I am using the light theme. When I set a breakpoint, the text changes to black and I can't see it. I unchecked “Highlight entire source line for breakpoints and current statement.” setting under 'Debugging'. In "Fonts and Colors" all the entries for 'breakpoint' and 'current statement' do not have a dark color for both foreground and background colors.

Where is the setting for this or is this a bug in VS?

Upvotes: 27

Views: 16574

Answers (4)

Noah Binder
Noah Binder

Reputation: 161

As of Visual Studio 17.8, this feature has been added. Tools -> Options -> Environment -> Fonts and Colors -> Breakpoint (enabled). If you set the Item foreground to Automatic it restores syntax highlighting

Upvotes: 1

Gavin Thornton
Gavin Thornton

Reputation: 1897

Still can't turn it off properly in VS2019 but there is hope in the form of an github issue. Go thumb it up & subscribe: https://github.com/dotnet/roslyn/issues/39114

You can change the color as mentioned above, but this will lose the syntax highlighting.

Upvotes: 2

yak32
yak32

Reputation: 49

check Options - Text Editor - General - Indicator Margin. It should be checked, so Visual Studio can place the marker.

Upvotes: 0

Kaarel Nummert
Kaarel Nummert

Reputation: 999

You can change the font color to white in Tools -> Options -> Environment -> Fonts and Colors -> Breakpoint (enabled). That won't restore syntax highlighting, though.

Upvotes: 33

Related Questions