views:

38

answers:

2

Hi,

Default settings makes each line where the break point is to be highlighted. Is there an option to make this line not to be highlighted (the point in the left side of the window is enough for me)

Thanks for help

+1  A: 

I don't believe you can turn the breakpoint highlighting off - but you can go into tools/options/environment/fonts and colors and change the highlight color of breakpoint lines to be the same as your non-highlight default.


Looks like there should be a option for it, but it doesn't work (http://blogs.msdn.com/b/saraford/archive/2008/08/18/did-you-know-highlight-entire-source-line-for-breakpoints-and-current-statement-does-not-work-293.aspx). Doesn't seem fixed under 2010 either...

Martin Harris
This works for me, but it sets the text to Black rather then not highlight it.
LnDCobra
+2  A: 

Another solution is to create an addin for VS, which override the breakpoint style.

Jérémie Bertrand
great but how ?
gruber
You have several tutorials on how to create VS Addin:- MSDN: http://msdn.microsoft.com/en-us/library/80493a3w%28v=VS.90%29.aspx- C# corner: http://www.c-sharpcorner.com/uploadfile/mgold/addins11292005015631am/addins.aspx- Albert Pascual: http://weblogs.asp.net/albertpascual/archive/2009/01/27/how-to-create-a-addin-for-visual-studio-2008.aspx and some resources in SO: http://stackoverflow.com/questions/855808/visual-studio-2008-plug-in-add-in-development-getting-startedBut I don't know how to override the breakpoint style.
Jérémie Bertrand