Multithread stepping
Hello,
If I have a process with several threads, ?can mdbgeng or a tool using ICorXX API step code in different threads at the same time and independently?
I have tried StepOver in that case but the non-active threads of the process run when I step on the active thread.
I'm interested on a independent debugger per thread solution.
ICorDebug supports it. An ICorDebugStepper is per-thread, and doesn't intefer with steppign on other threads.
Here's some stepping trivia you may find useful: http://blogs.msdn.com/jmstall/archive/2006/01/24/stepping-trivia.aspx
The bottom level of managed wrappers in Mdbg (CorStepper, Cor*, etc) don't impose any additional policy.
However, the MDbgEnginer layer does impose a lot policy targetted towards the command line shells. This includes the ActiveThread, ActiveFrame, ActiveStepper, etc stuff.
You can definitely build a different policy with MDbg which is very multi-threaded centric.