Not from managed code, you need to run in a native debugger or the Kernel
debugger.
Willy.
| Is there any way to examine a given thread's stack? As in, the list of
| variables currently accessible by the executing code on a given thread, plus
| their values? TIA!
William Sullivan - 03 Jul 2006 13:58 GMT
Yecch. Ugly. Thanks for the info.
> Not from managed code, you need to run in a native debugger or the Kernel
> debugger.
[quoted text clipped - 5 lines]
> plus
> | their values? TIA!
See the Managed Stack Explorer [1]
[1] http://www.codeplex.com/Wiki/View.aspx?ProjectName=MSE

Signature
http://www.peterRitchie.com/
Microsoft MVP, Visual Development - C#
> Is there any way to examine a given thread's stack? As in, the list of
> variables currently accessible by the executing code on a given thread, plus
> their values? TIA!
Willy Denoyette [MVP] - 14 Jul 2006 22:06 GMT
This doesn't do what the OP is asking for, it only shows stack traces
(frames) not the stack variables.
Willy.
| See the Managed Stack Explorer [1]
|
[quoted text clipped - 3 lines]
| > variables currently accessible by the executing code on a given thread, plus
| > their values? TIA!
Peter Ritchie [MVP] - 14 Jul 2006 22:19 GMT
MSE doesn't currently do this; but it's essentially a managed debugger and
open-source--which a current feature request to display stack variables as
well--so I mentioned it in case he wanted to add that feature to the project.

Signature
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
> This doesn't do what the OP is asking for, it only shows stack traces
> (frames) not the stack variables.
[quoted text clipped - 4 lines]
> |
> | [1] http://www.codeplex.com/Wiki/View.aspx?ProjectName=MSE