gpt4 book ai didi

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

转载 作者:IT王子 更新时间:2023-10-29 03:39:27 26 4
gpt4 key购买 nike

在调试我的 C# 应用程序时,我注意到大量出现以下句子:

The thread -- has exited with code 0 (0x0).

应用程序继续工作,没有异常被捕获/未处理。

该应用程序在 Windows 7 64 位上运行,并使用 x86 平台进行调试。

最佳答案

这只是调试消息。您可以通过右键单击输出窗口并取消选中 Thread Exit Messages 来关闭它。

http://msdn.microsoft.com/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.

  • Exceptions that are thrown.

  • Processes that exit.

  • Threads that exit.

关于c# - 线程已退出,代码为 0 (0x0),没有未处理的异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12410548/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com