How do I create an unstopable thread?
-
I always have trouble debugging methods (doing a watch, for example) over methods that pass some information to another thread and wait for the result, as the other thread is keept suspended while evaluating is done. Is there any way to mark a thread to be "invisible/unstopable" by the debugger?
-
I always have trouble debugging methods (doing a watch, for example) over methods that pass some information to another thread and wait for the result, as the other thread is keept suspended while evaluating is done. Is there any way to mark a thread to be "invisible/unstopable" by the debugger?
AFAICT, there's no way to do this. Once the app breaks in the debugger, all threads stop along with it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...