| About the latest Windbg Sos extension |
| Mamblog - Blog | |
|
I've been using the latest version of the Sos.dll extension for Windbg to debug some managed code and there is a few new instructions that are noteworthy. Now, we can attach to a running managed app and enter the command ".loadby sos mscorwks" to load the correct sos extension for the application. Then we just have to enter "!bpmd sample.exe sample.SomeMethod" and let it run to have Windbg stopped on our managed sample.SomeMethod. Then using !clrstack and few others commands let us zoom in fairly quickly on a problem. For hard to find bugs in managed or interop code, the duo Windbg + Sos is really hard to beat. The "bugslayer" had an article in the MSDN Magazine of the month of March (if you want more info).
|
|
| < Prev | Next > |
|---|











