线程 '<No Name>'(0xb24) 已退出,代码为 0 (0x0) [英] The thread &#39;&lt;No Name&gt;&#39; (0xb24) has exited with code 0 (0x0)

查看:55
本文介绍了线程 '<No Name>'(0xb24) 已退出,代码为 0 (0x0)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试运行程序时,

whenever i try to run program for example,

如果我必须在

Application.Run(new frmphonebook());

我输入了但是当我运行它时它运行另一个表单,它发生在每个表单上并且它显示输出为

I typed but when i run it it run another form, and it happens to each and every form and it is displaying output as

The thread 'vshost.RunParkingWindow' (0x63c) has exited with code 0 (0x0).

The thread '<No Name>' (0xb24) has exited with code 0 (0x0).

如何解决这个问题?

推荐答案

你可以给你的线程一个名字,这也有助于你的调试...但是在许多应用程序中,线程是隐式创建的,您无法控制名称.所以这不是错误消息.代码 0 表示一切按计划进行.任何非零代码通常表示错误.

You can give your threads a name it would also help you in your debugging... But in many apps threads are created implicitly and you have no control over the name. So that is not an error message. Code 0 means everything went according to plan. Any non-zero code usually indicates an error.

您还可以禁用这些消息的显示,调试时,右键单击输出,然后选择您想看到的内容.

edit: You can also disable the display of these messages, when debugging, do right click on output, and choose what do you want see.

这篇关于线程 '<No Name>'(0xb24) 已退出,代码为 0 (0x0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆