Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

whenever i try to run program for example,

if i have to run "frmphonebook" so in

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).

how to solve this ?

like image 620
Faiz Memon Avatar asked Jan 29 '13 03:01

Faiz Memon


People also ask

What means exited with code 0?

A 32-bit signed integer containing the exit code. The default value is 0 (zero), which indicates that the process completed successfully.

How do I activate just my code?

To enable or disable Just My Code in Visual Studio, under Tools > Options (or Debug > Options) > Debugging > General, select or deselect Enable Just My Code.

How to solve the thread'<no name>'(0xb24) has exited with code 0 (0x0)?

The thread '<No Name>' (0xb24) has exited with code 0 (0x0). how to solve this ? 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.

What does it mean when a thread exits with code 0?

but, in u r case, the thread exited with code 0 . 0 indicates thread exited successfully means no error. to stop such messages, u can right click debug output window and uncheck "Thread Exit Message" setting. hope this helps... It sounds like you have an unhandled exception in your code, causing something to crash.

What does code 0 (0x7C) mean?

"The thread '<No Name>' (0x7c) has exited with code 0 (0x0)." That is not an error message. Code 0 means everything went according to plan. Any non-zero code usually indicates an error. Check out My Blog. Now updated to actually work! That is not an error message. Code 0 means everything went according to plan.

What do the exit codes mean?

There actually doesn't seem to be a lot of explanation on this subject apparently but the exit codes are supposed to be used to give an indication on how the thread exited, 0 tends to mean that it exited safely whilst anything else tends to mean it didn't exit as expected.


2 Answers

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. enter image description here

like image 167
StefanoM5 Avatar answered Dec 28 '22 21:12

StefanoM5


If a thread has exited with code 0 it ran successfully. On Codeproject is a Beginners-Guide-to-Threading This article on threading might also be helpfull. This question on so could also be of use. A list of System Error Codes

like image 29
surfmuggle Avatar answered Dec 28 '22 20:12

surfmuggle