2012-08-10 70 views
3

从VS2010开始,当我使用F8单步执行代码时,我在debuger中获得了无意义的文本,我没有在VS2008中获得。我只想看到结果,而不是“步入:..”我试着在调试器设置中设置不同的选项,但似乎没有任何工作。关闭“步入:..”调试时在VisualStudio中立即显示窗口

例如:

For i As Integer = 0 To 2 
    Debug.Print(i) 
Next 
使用目前F8键时

即时窗口:

Step into: Stepping over non-user code 'System.Diagnostics.Debug.Print' 
0 
Step into: Stepping over non-user code 'System.Diagnostics.Debug.Print' 
1 
Step into: Stepping over non-user code 'System.Diagnostics.Debug.Print' 
2 

它用来显示使用F8键,当公正的结果:

0 
1 
2 

回答

5

尝试Options - >Debugging - >Output Window - >General Output Settings - >Step Filtering Messages。 它默认打开。

+0

它似乎已被关闭,但仍然获得“步入......”文本。任何其他想法? – TroyS 2012-08-10 13:00:38

+0

嗯...也许尝试禁用输出 - >中间重定向? – 2012-08-10 13:01:36

+1

感谢您将我指向正确的区域。我知道了。我还关闭了通用输出设置 - >所有调试输出中的第一个选项。现在我只是得到结果。回到好的。 – TroyS 2012-08-10 13:05:06

相关问题