While debugging my C# application I have noticed a large amount occurrences of the following sentence:
The thread -- has exited with code 0 (0x0).
The application continues to work and no exception is catched/unhanded.
The application is running on Windows 7 64bit and debugged with x86 platform.
This question is tagged with
~ Asked on 2012-09-13 16:14:15
This is just debugging message. You can switch that off by right clicking into the output window and uncheck
Thread Exit Messages.
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.
~ Answered on 2012-09-13 16:18:47
Well, an application may have a lot of threads running in parallel. Some are run by you, the coder, some are run by framework classes (espacially if you are in a GUI environnement).
When a thread has finished its task, it exits and stops to exist. There ie nothing alarming in this and you should not care.
~ Answered on 2012-09-13 16:17:11