线程已退出,代码为0(0x0),没有未处理的异常

编程入门 行业动态 更新时间:2024-10-26 18:19:11
本文介绍了线程已退出,代码为0(0x0),没有未处理的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在调试我的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),没有未处理的异常

本文发布于:2023-07-27 16:05:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1223299.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:线程   异常   代码   未处理

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!