Visual Studio 2010突然停止显示Debug输出 [英] Visual Studio 2010 suddenly stops displaying Debug output
问题描述
是的,我处于调试模式(vs.发布模式)
是的,我的输出窗口中显示显示输出:Debug。
当我右键单击输出窗口时,会检查每个选项。
否,我的工具>选项>调试>常规>将所有输出文本重定向到立即窗口没有检查。
所有我可以认为(这是一个狂热的猜测)是因为某些原因,VS调试器不附加到Silverlight应用程序像它应该。
在过去的几天里,蓝色的事情发生了什么奇怪的事情。就像突然间一样,我的所有调试信息都会再次显示出来。
这非常令人沮丧。
编辑:当然,在周末回到项目之后,所有的Debug消息都回来了。不知道是什么导致的问题,所以我确定会再次发生。
现在的问题是:如果问题在不久的将来再次出现,我应该将此问题放开吗?一个未知的赏金会发生什么?
我有完全相同的问题。在蓝色中,debug.print停止工作。在我的情况下,它曾经进入立即窗口。空空如也。 输出窗口中没有任何内容。我遵循几项建议,直到我在 http://www.experts-exchange.com/questions/26894732/Debug-Print-and-Debug-Write-no-longer-work-in- Visual-Studio-2010.html
输出/调试窗格中有一个上下文菜单。 程序输出
菜单项被意外清除。
检查该项目,并重新开始工作(尽管我的输出是立即的窗口)。什么救济...
So there I am, working on a Silverlight app, and between one build & run and the next, my debug output goes away. Where before I had dozens of lines of Debug.Writeline text, I now have only the module load and thread messages.
Yes, I'm in debug mode (vs. release mode).
Yes, my Output window says "Show output from: Debug".
Yes, when I right-click on the output window, every option is checked.
No, my Tools > options > debugging > general > "Redirect all output text to the immediate window" is not checked.
All I can figure (and it's a wild guess) is that for some reason, the VS debugger isn't attaching to the Silverlight app like it should.
What's weird is this has been happening for the last couple of days, out of the blue. And just as suddenly, all my debug messages start showing up again.
This is VERY frustrating.
EDIT: Of course, after returning to the project after the weekend, all Debug messages are back. No idea what was causing the issue, so I'm sure it will happen again.
Now the question is: should I leave this question open in case the problem arises again in the near future? What happens to an unawarded bounty?
I had exactly the same issue. Out of the blue, debug.print stopped working. In my case, it used to go to the Immediate Window. Nothing there. Nothing in the Output window. I followed several suggestions to no avail until I found this one at http://www.experts-exchange.com/questions/26894732/Debug-Print-and-Debug-Write-no-longer-work-in-Visual-Studio-2010.html
There is a context menu in the Output/Debug pane. The "Program Output" menu item was accidentally cleared.
Checked the item and it started working again (even though my output was the immediate window). What a relief...
这篇关于Visual Studio 2010突然停止显示Debug输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!