enkomio / shed

.NET runtime inspector
Other
268 stars 38 forks source link

Display stack trace in case of exception #1

Closed robertlyson closed 6 years ago

robertlyson commented 6 years ago

I was trying to use the tool to check w3wp process on my machine, unfortunately, I was getting

Object reference not set to an instance of an object.

exception without any stack trace. This PR changes that, hope it helps.

image

enkomio commented 6 years ago

Indeed, printing the stack trace is a better option in case of an unexpected exception.

I would investigate more on this error, in order to understand the root cause. Could you please tell me how to replicate it?

robertlyson commented 6 years ago

@enkomio I'm trying to replicate. I'll keep you posted :)