如何首先向 Visual Studio 2010 添加默认值以外的其他监视窗口? [英] How to add other watch windows than the default first to Visual Studio 2010?

查看:32
本文介绍了如何首先向 Visual Studio 2010 添加默认值以外的其他监视窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想显示多个观察窗口.

I just want to show more than one Watch window.

那里,他们说这是可能的:

There, they say that it is possible:

http://www.codeproject.com/Articles/121623/10-Tips-you-should-know-about-Watch-Window-While-d

但是我用不同的方式尝试了很多次使用丑陋的 ctrl+d,w 组合 (ctrl+d,w, ctrl+d,w,1,ctrl+d,w,2,ctrl+d,w,3,ctrl+d,w,4代码>).我只能看到 Watch 1 窗口.

But I tried a lot of times in different ways with that ugly ctrl+d,w combos (ctrl+d,w, ctrl+d,w,1,ctrl+d,w,2,ctrl+d,w,3,ctrl+d,w,4). I could see only Watch 1 window.

帮助!!!

推荐答案

Options -->环境 -->键盘 并查找调试快捷方式会提供以下默认快捷方式.同时按下 Ctrl + Alt + W,松开然后按下相应窗口的键盘数字键,而不是数字小键盘数字键.或者,当您的程序运行时,只需转到 Debug -->窗户 -->Watch 并选择您要添加的 Watch 窗口.

Looking in Options --> Environment --> Keyboard and looking up the Debug Shortcuts gives the following default Shortcuts. Press the Ctrl + Alt + W together, release then press the keyboard number key for the respective window not the Numpad number key. Or when your program is running just go to Debug --> Windows --> Watch and select the Watch window you wish to add.

Debug.Watch1 = Ctrl + Alt + W, 1
Debug.Watch2 = Ctrl + Alt + W, 2
Debug.Watch3 = Ctrl + Alt + W, 3
Debug.Watch4 = Ctrl + Alt + W, 4

Debug.Watch1 = Ctrl + Alt + W, 1
Debug.Watch2 = Ctrl + Alt + W, 2
Debug.Watch3 = Ctrl + Alt + W, 3
Debug.Watch4 = Ctrl + Alt + W, 4

这篇关于如何首先向 Visual Studio 2010 添加默认值以外的其他监视窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆