简体   繁体   English

更改堆栈中行的背景颜色

[英]Changing the background colour of lines in the stack

I have just changed the colour scheme of my Visual Studio 2008 environment to have a dark backround with light text. 我刚刚改变了我的Visual Studio 2008环境的配色方案,使其具有带有浅色文本的深色背景。

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 唯一的问题是调用堆栈中的行... 在Visual Studio中此线程中引用的那些行在某些代码行中具有浅灰色背景而在调试时

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 . 我尝试过几种不同的风格: Studio Styles They all have the same problem. 他们都有同样的问题。

I have just fired up VS2005 and I am getting the same problem. 我刚刚启动了VS2005,我遇到了同样的问题。

Here is a screen shot of what is going on : 以下是正在发生的事情的屏幕截图:

截图

What is going on!?? 到底是怎么回事!??

I had the same problem and found vs2010 c# debugging highlight color : 我有同样的问题,发现vs2010 c#调试高亮颜色

Tools → Options → Fonts and Colors → Text Editor → Read-only Region

I only get the color from Call Return New Context when I double-click a different entry in the Call Stack window. 当我双击“调用堆栈”窗口中的其他条目时,我只从“ Call Return New Context获取颜色。

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

这个对我有用,不确定'Call Return'(没有新的上下文)是什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM