views:

34

answers:

1

I have just changed the colour scheme of my Visual Studio 2008 environment to have a dark backround with light text.

This is so much easier on the eyes.

The only problem is lines that are on the call stack... Those lines that are referred to in this thread here in visual studio some lines of code have light grey background while debugging

These lines have a bright grey background, which against my light text means I cannot read the text at all. I have been through every single colour in Tools -> Options -> Fonts and Colours and cannot find one that matches.

How can I change the background for lines on the current call stack?

Edit

Ok this is seriously doing my head in now!

I have tried with several different styles from here : Studio Styles. They all have the same problem.

I have just fired up VS2005 and I am getting the same problem.

Here is a screen shot of what is going on :

Screenshot

What is going on!??

A: 
Tools → Options → Fonts and Colors → Text Editor → Call Return New Context

This one does it for me, not sure what 'Call Return' (without new context) is for.

Paul Ruane
No that's not doing it.. Setting Call Return will set the colour of the currently selected call stack line, but Call Return New Context doesnt seem to have any effect..
Mongus Pong
Strange as, for me, 'Call Return New Context' highlights the stack frames for the current thread irrespective of where they are in the call stack (for me they render green rather than grey too).
Paul Ruane
Googling "Call Return New Context" brings up one page. This one: http://stackoverflow.com/questions/850489/problem-visual-studios-custom-fonts-and-colorsNo one had the answer then. Perhaps a bug or maybe a curse (I get them often!).
Mongus Pong
OK, I've just set by backcolour to black and Call Return New Context to magenta and it works fine. So I suspected that Resharper had 'fixed' the bug and disabled the add-in but, no, it still highlights correctly (magenta). So perhaps it is the version of Visual Studio — I am on VS2008 version 9.0.21022.8 RTM.
Paul Ruane
Hmm even stranger. I am on 9.0.30729.1 SP.. Some environment issue perhaps. I am on Vista...
Mongus Pong