在调试我的C#应用程序时,我注意到以下句子大量出现:
While debugging my C# application I have noticed a large amount occurrences of the following sentence:
线程-已退出代码0(0x0)。
The thread -- has exited with code 0 (0x0).
应用程序继续运行,没有捕获/处理异常。
The application continues to work and no exception is catched/unhanded.
该应用程序在Windows 7 64bit上运行,并已在x86平台上调试。
The application is running on Windows 7 64bit and debugged with x86 platform.
推荐答案这只是调试消息。您可以通过右键单击进入输出窗口将其关闭,然后取消选中线程退出消息。
This is just debugging message. You can switch that off by right clicking into the output window and uncheck Thread Exit Messages.
msdn.microsoft/en-us/library/bs4c1wda.aspx
除了从应用程序中进行编程外,输出窗口还可显示有关:
In addition to program out from your application, the Output window can display the information about:
-
调试器已加载或卸载的模块。
Modules the debugger has loaded or unloaded.
引发的异常。
退出的进程。
退出的线程。
更多推荐
线程已退出,代码为0(0x0),没有未处理的异常
发布评论