自从 VS2010 以来,当我使用 F8 单步执行代码时,我在调试器中得到了在 VS2008 中没有得到的不必要的文本。我想看到的只是结果,而不是“步入:...”我尝试在调试器设置中设置不同的选项,但似乎没有任何效果。
例如:
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
最佳答案
尝试选项
-> 调试
-> 输出窗口
-> 常规输出设置
-> 步骤过滤消息
。
默认情况下它是打开的。
关于vb.net - 调试时关闭 Visual Studio 中的 "Step into:.."立即窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11901968/