I have recently switched from native to managed code programming. I am using .NET.
Since i have been using Windbg for quite some time , i want to use it for managed code debugging as well.
My search has brought me to the SOS (Son of Strike) extension, which seems to have quite some powerful commands.
Even though i understand most of the commands being used in SOS, i am unable to find a way to properly step through source code, just as i could do using the p and t instructions for native code.
This makes the debugging experience difficult, and I really want to step through code while debugging it.
I researched a bit on this and found that this was possible using the 6.7.05.0 version of Windbg in which MS seemed to have released integrated managed debugging, but rolled back in the later versions.
Nevertheless, i am very interested in being able to step through "source" code live while debugging through SOS. Specially because it is really hindering my debugging experience right now.
Is there a way to achieve this?
Any help on how to do this (or practical workarounds) is appreciated.
Try using !sosex.mt and !sosex.mgu. The 'p' command should work as advertised.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With