Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Sample Code » MDbg   (RSS)

Tool to get snapshot of managed callstacks

I wrote a simple tool to take a snapshot of a running managed process and dump the output as an XML file. I'll post the full source as a sample on MSDN. [ Update 6/26/06] After great delay, source posted here . Also, check out Managed Stack Explorer ,
Posted by jmstall | 14 Comments
Filed under: ,

Adding IronPython scripting engine to Mdbg

I hear IronPython is a great managed scripting language to embed in other managed apps, so I thought I'd try this out by writing an MDbg Extension to drop IronPython 0.9.1 into the MDBg Beta 2 sample. (both pieces are publicly available downloads). The
Posted by jmstall | 12 Comments
Filed under: ,

Converting a managed PDB into a XML file.

I wrote some C# sample code to get an ISymbolReader from a managed PDB (Program Database) file and then dump it back out as XML. The managed PDB stores all the source-level debugging information such as: - the mapping between IL offsets and source lines.
Posted by jmstall | 11 Comments
Filed under: ,

MDbg Sample is updated for Beta 2 and RTM

The Mdbg (a managed debugging written in pure C#) sample, which includes full source, has now been updated and released. The previous sample was for beta 1. This new sample has been updated for Whidbey beta 2 and will also be compatible with the final
Posted by jmstall | 14 Comments
Filed under: ,

Simple harness to print exceptions in an app

Several people have asked how to write something that runs some executable under a harness and then dumps all the exceptions that are thrown. Back in November, I wrote a similar harness to dump load module events using MDbg . You can easily modify that
Posted by jmstall | 9 Comments
Filed under: ,

Source is available for MDbg Winforms GUI!

The source for the Winforms GUI extension to MDbg is now available as a sample. (Sorry it took so long). The download is available here . I’ve also updated the original post with this link. Here's a screenshot of the updated gui:
Posted by jmstall | 21 Comments
Filed under: ,

Sample app to print loaded modules.

Here’s a simple C# sample tool that runs an app and prints the modules loaded. It’s effectively a highly simplified debugger and uses the ICorDebug debugging APIs as exposed by MDbg . Here’s the code. [ update : 1/26/05: updated code for final 2005 release
Posted by jmstall | 6 Comments
Filed under: ,

Managed Debugger Sample

We have a pure C#/IL managed debugger sample, called MDbg. It's available on MSDN at http://www.microsoft.com/downloads/details.aspx?familyid=38449a42-6b7a-4e28-80ce-c55645ab1310&displaylang=en . For a variety of reasons, this sample only runs on
Posted by jmstall | 61 Comments
Filed under: , ,
 
Page view tracker