vb.net - 调试时关闭 Visual Studio 中的 "Step into:.."立即窗口

标签 vb.net visual-studio

自从 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/

相关文章:

vb.net - 如何在 vb.net 中拆分?

c# - 将具有多个事件参数的 VB.NET 事件转换为 C#

sql - 移植 SQL Server?

visual-studio - VS2012 - VS2013 - VS2015 - VS2017 - VS2019 的 Crystal 报表

c# - 为什么要创建一个包含所有引用的项目

c# - 透明地分解 Azure 中托管的 ASP.NET 网站

c# - .NET TreeView : Attach objects to TreeNodes

asp.net - 我的 pay pal 按钮不会链接到 paypal。它只刷新页面,为什么?

C++ DX11 应用程序仅在 Visual Studio IDE 中运行

visual-studio - Visual Studio 总是重新编译代码,即使它没有改变