Dev28
Dev28

Reputation: 507

How to look up a .NET thread's stack size in using a tool?

I'm relatively new to .NET but I do understand that if infinite recursion happens in a Win32 thread, the thread stack would eventually run out of space and a stack overflow would happen.

Now i have a .NET application here, which might be doing infinite recursion in a scenario.

I was wondering if there a way to look up the current consumption of the managed thread stack using some tool like Process Explorer so that I can look into the details?

Upvotes: 1

Views: 103

Answers (1)

Pantelis Natsiavas
Pantelis Natsiavas

Reputation: 5369

I suppose you use Visual Studio IDE. You could use the call stack window. In this tutorial you could see a lot of the functionality provided.

Hope I helped!

Upvotes: 1

Related Questions