Is it possible to enumerate all managed threads in C#? Visual Studio seems to be able to do this when you hit a break point while debugging. In the ‘Threads’ window it shows a list of all running threads, including managed names. Does anyone know how it does this?
Share
Debuggers are often able to do things ‘normal’ code can’t. You’d probably find that you can do this if you use the profiling/debugging API, but I don’t believe you can do it from ‘normal’ .NET code.