问题标签 [output-window]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
4 回答
4432 浏览

visual-studio - Visual Studio 2008 调试窗口显示时间戳?

我希望能够在 Visual Studio 的调试窗口中的每个跟踪的开头看到时间戳。

这方面的示例是 sysinternals 应用程序 - DebugView。问题是我无法同时进行 Visual Studio 调试和使用 DebugView 进行侦听,而且我不喜欢手动将时间戳添加到我的跟踪器中。

0 投票
6 回答
4907 浏览

visual-studio - Visual Studio - how to get rid of output window?

I've just started using VS2005, mostly I've stuck to VS6 as up till now it did everything I wanted.

I like to maximize the space available and remove clutter so I only want to see the source window and files-in-project list (oddly named "solution explorer" here). So when the output window appears, I want to be able to quickly remove it when I've finished with it, and to do so with a single keystroke and NOT the mouse. I used to be able to do this quite easily in VS6 because the "view" function was a toggle, but it seems in VS2003 and later this is a view "on" only - which seems a stupid removal of a useful function.

So has anyone got a way to use a single key to perform a toggle function on the output window (and any other of the many windows that might come up)? I know there's a "closetoolwindow" function but this has to be a different key and only works if the focus is in that window, so it's a pain.

0 投票
1 回答
199 浏览

debugging - Visual Studio 2010 - 仅查看特定类别的输出

在 Visual Studio 2010 中,仅查看给定调试类别的输出是有益的。

IE

我们有许多开发人员在同一个项目上进行开发,并且在输出窗口中发生了很多我们不需要查看的内容……例如,如果我们只能查看“ category1”的调试信息,那会让事情变得容易得多。

是否有任何 VS 2010 扩展来处理这种情况,或者是否有更好的方法来处理这种情况?

0 投票
4 回答
17481 浏览

c# - 将子进程的输出(stdout、stderr)重定向到 Visual Studio 中的“输出”窗口

目前我正在从我的 C# 程序启动一个批处理文件:

我想要做的是将该子进程的输出(stdout 和 stderr)重定向到 Visual Studio(特别是 Visual C# Express 2008)中的输出窗口。

有没有办法做到这一点?

(另外:当子进程完成时,它不会全部缓冲然后吐出到输出窗口。)


(顺便说一句:目前,通过使我的程序成为“Windows应用程序”而不是“控制台应用程序”,我可以让进程的标准输出(但不是标准错误)出现在输出窗口中。如果程序运行,这会中断在 Visual Studio 之外,但这在我的特定情况下是可以的。)

0 投票
1 回答
4220 浏览

wpf - System.Xml.dll 中出现“System.Xml.XmlException”类型的第一次机会异常

我在 Visual Studio 的输出窗口中看到,消息多次出现

System.Xml.dll 中出现“System.Xml.XmlException”类型的第一次机会异常

当我填充 DataGrid (Xaml/WPF - DevExpress DXGrid) 时。有人知道这是为什么吗?

0 投票
1 回答
221 浏览

visual-studio-2010 - 如何在 Visual Studio 中设置“输出”窗口的默认源?

我们在 Visual Studio 2010 中的解决方案中添加了一个 SharePoint BDC 模型项目。从那时起,无论何时构建解决方案,它都坚持在“显示来自的输出”中选择“SharePoint Tools”,而不是在“输出”窗口中显示“构建”输出:" 下拉菜单,只是说“模型验证开始......模型验证完成且没有错误。”

如果没有关闭构建配置中的任何 SharePoint 项目,是否可以覆盖此行为?

0 投票
2 回答
7344 浏览

visual-studio - 在 Visual Studio 中调试期间是否有显示程序集的设置?

我相信 Visual Studio 中有一个设置(或设置组合)允许您在即时窗口(或输出窗口,我不记得是哪个)中查看调试时加载的程序集的时间戳和名称. 我曾经打开它,因为它对于查找性能问题区域非常有用。然而可悲的是,当 VS 最近无缘无故地决定取消停靠我的所有窗口时,我不得不重置我的 VS 设置并且现在已经丢失了它。

我终其一生都找不到我打开的是哪个设置。

任何帮助表示赞赏。

0 投票
4 回答
29034 浏览

vb.net - Visual Studio output window is not displaying messages sent by Debug.Write()

I am using Visual Studio 2010 Professional in trial mode... and suddenly the Output window won't show my Debug.Write() stuff. It had been showing it for the past month.

I have been using the 2010 version for 30 days (after upgrading from Visual Studio 2003) in trial mode. I just renewed the trial for the extra 60 days, and the "About Visual Studio" window says I still have 59 days left.

I have verified that the application is running properly, without errors. When I purposely generate an error, the Output Window properly shows the error and the stack trace I've already checked my Build>Configuration... it's in "Debug" mode, not "Release". The Debug.Write() text is not going to the Immediate window, either.

One other point, I tried running the same application in the Visual Studio 2010 Express Edition, and it complained that it could not debug the specified code, though it did properly build it so that it would run in the build. Could Visual Studio 2010 Express have modified something in my project files to disable the debugging output? I looked, but I really don't know what to look for.

0 投票
2 回答
4493 浏览

c++ - Visual Studio 输出窗口错误 - C++

使用 Visual Studio 2008,我一直在输出窗口中看到此错误:

_CrtDbgReport:字符串太长或 IO 错误

我有很多TRACE宏分散在我的代码中,用于转储有关错误条件的信息:文件路径、行号、错误等。我需要追踪此错误的来源,因为它可能是它试图转储到的信息输出窗口太长。TRACE宏可以接受的字符串的最大长度是多少?这是我通常如何使用此宏的示例:

任何想法将不胜感激。谢谢。

0 投票
4 回答
35686 浏览

visual-studio-2010 - 如何在 Visual Studio 的 Windows 窗体应用程序中打开黑色控制台(输出)窗口

我找不到如何打开那个我可以找到的黑色窗口和东西。如果有人可以提供帮助,我将不胜感激。

非常感谢您提前。