Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Mike Stall's .NET Debugging Blog
Notes on Managed Debugging, ICorDebug, and random .NET stuff
This Blog
Syndication
RSS 2.0
Atom 1.0
Search
Go
Tags
binary_diff
Compilers & Languages
Design
dlr
Edit-And-Continue (EnC)
Family
feedback
FuncEval
ICorDebug
Interop (mixed-mode)
interview
linkfest
MDbg
Non-work
Quiz
Random
random .net
reading
Sample Code
Silverlight
Testing
This should be in MSDN
Troubleshooting
versioning
Whidbey (V2.0)
Windows Live
wishlist
Archives
June 2008 (1)
May 2008 (2)
April 2008 (3)
March 2008 (5)
February 2008 (2)
January 2008 (10)
December 2007 (7)
November 2007 (5)
October 2007 (16)
September 2007 (8)
August 2007 (12)
July 2007 (9)
June 2007 (5)
May 2007 (7)
April 2007 (4)
March 2007 (6)
February 2007 (5)
January 2007 (10)
December 2006 (9)
November 2006 (13)
October 2006 (9)
September 2006 (9)
August 2006 (6)
July 2006 (13)
June 2006 (9)
May 2006 (3)
April 2006 (4)
March 2006 (31)
February 2006 (16)
January 2006 (18)
December 2005 (11)
November 2005 (23)
October 2005 (12)
September 2005 (22)
August 2005 (28)
July 2005 (10)
June 2005 (7)
May 2005 (4)
April 2005 (5)
March 2005 (9)
February 2005 (16)
January 2005 (6)
December 2004 (3)
November 2004 (4)
October 2004 (14)
September 2004 (2)
CLR blogs
David Notario (JIT Compiler)
Rick Byers (CLR)
Jonathan Keljo's blog
List of all CLR blogs
David Broman (Profiling)
Thomas Lai's blog
Other Blogs
Andy Pennell's Blog
GreggM's Blog
Steve's Blog
Tim's .NET blog for web developers
Other links
All about MDbg
What's new in v2.0?
Who am I?
ICorDebug/MDbg Forums
Contact me?
Browse by Tags
All Tags
»
Sample Code
»
MDbg
(RSS)
ICorDebug
Monday, November 28, 2005 2:02 AM
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:
MDbg
,
Sample Code
Wednesday, August 31, 2005 9:46 PM
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:
MDbg
,
Sample Code
Thursday, August 25, 2005 2:49 AM
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 Code
Wednesday, August 10, 2005 4:48 PM
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:
MDbg
,
Sample Code
Thursday, July 28, 2005 1:27 AM
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:
MDbg
,
Sample Code
Friday, February 04, 2005 7:50 PM
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:
MDbg
,
Sample Code
Friday, November 19, 2004 11:04 PM
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:
MDbg
,
Sample Code
Thursday, September 30, 2004 3:20 PM
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:
ICorDebug
,
MDbg
,
Sample Code