<Not Available> and [Thread Destroyed] details in Thread window for Visual Studio 2010

半世苍凉 提交于 2020-01-02 01:35:13

问题


I've been trying to debug some issues related with threads with one application. When I attach to the application I see a window like this one:

What is this thread with a name "[Thread Destroyed]"? The app code is not writing this name for sure.

What means that a Thread has the call stack not available. The "Acquisition Engine" thread is created inside the application and runs inside a loop until stopped. If the thread is stopped it exits the loop and it ends its life so it should be in the thread list. If it's there its because it hasn't exited the loop yet, so, again, what means that the callstack is not available?

Thanks in advance for your help, this one doesn't seem an easy one.


回答1:


[Thread Destroyed] means the Destructor has been called and the Thread no longer exists.



来源:https://stackoverflow.com/questions/11022147/not-available-and-thread-destroyed-details-in-thread-window-for-visual-studi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!