Tro*_*hel 4 vb.net visual-studio
从VS2010开始,当我使用F8逐步执行代码时,我在debuger中获得了我在VS2008中没有得到的不必要的文本.我想看到的只是结果,而不是"Step into:.."我尝试在调试器设置中设置不同的选项,但似乎没有任何效果.
例如:
For i As Integer = 0 To 2
Debug.Print(i)
Next
Run Code Online (Sandbox Code Playgroud)
当前使用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
Run Code Online (Sandbox Code Playgroud)
它用于显示使用F8键时的结果:
0
1
2
Run Code Online (Sandbox Code Playgroud)
尝试Options- > Debugging- > Output Window- > General Output Settings- > Step Filtering Messages.它默认打开.