[Mono-dev] Stack inspection

Promit Roy 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.

-- Promit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060902/16f16378/attachment.html 

More information about the Mono-devel-list mailing list