[Mono-dev] Stack inspection
promit.roy at gmail.com
Sat Sep 2 12:25:56 EDT 2006
The setup I have is as follows. I have a thread A which is running normally.
At some point, a thread B will activate and suspend A. At that point, I want
to inspect A's stack, specifically the values of all local variables. B is
effectively functioning as a debugger on A.
Is there any way I can do this from pure C#? Unsafe blocks are ok, but
platform invoke and unmanaged DLLs (including COM interop) are not ok. I'm
trying to do this reasonably portably. Also, I don't actually need symbols
in the stack dump; even something as crude as a byte dump of everything on
the stack is fine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list