Sign In
Mike Stall's .NET Debugging Blog
Notes on Managed Debugging, ICorDebug, and random .NET stuff
Blog - Link List
Other Blogs
Andy Pennell's Blog
GreggM's Blog
Steve's Blog
Tim's .NET blog
Energy Policy
CLR blogs
Rick Byers (CLR)
List of all CLR blogs
David Broman (Profiling)
Thomas Lai's blog
Other links
All about MDbg
What's new in v2.0?
Who am I?
ICorDebug/MDbg Forums
Contact me?
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Compilers & Languages
Design
dlr
Edit-And-Continue (EnC)
Family
FuncEval
ICorDebug
Interop (mixed-mode)
linkfest
MDbg
Non-work
Pages
Python
Quiz
Random
random .net
reading
Sample Code
Silverlight
Testing
This should be in MSDN
Troubleshooting
versioning
Whidbey (V2.0)
Windows Live
Archive
Archives
November 2011
(1)
September 2011
(1)
December 2010
(1)
September 2009
(2)
July 2009
(1)
May 2009
(1)
February 2009
(1)
November 2008
(1)
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
(11)
December 2006
(9)
November 2006
(13)
October 2006
(9)
September 2006
(10)
August 2006
(6)
July 2006
(13)
June 2006
(10)
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
(31)
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)
MDbg
MSDN Blogs
>
Mike Stall's .NET Debugging Blog
>
MDbg
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Mike Stall's .NET Debugging Blog
Writing a CLR Debugger in Python
Posted
over 3 years ago
by
Mike Stall - MSFT
0
Comments
Harry Pierson has written an excellent set of blog entries about writing a managed debugger in IronPython . He builds on the ICorDebug managed wrappers that we ship in Mdbg and explains many of the concepts for how to write a debugger, such as managing...
Mike Stall's .NET Debugging Blog
Mdbg (C# debugger in C#) source sample updated
Posted
over 6 years ago
by
Mike Stall - MSFT
5
Comments
We've just updated the MDbg sample! This is a full source sample for building a managed debugger in C#. It's available here . (This is the same link as before. If it brings up version 1.0, just try refreshing the page until you get mdbgSample 21 .EXE...
Mike Stall's .NET Debugging Blog
Fixing the MDbg / Iron Python extension...
Posted
over 6 years ago
by
Mike Stall - MSFT
0
Comments
A while ago, we had a sample of Mdbg-Python extension that let you use python to script MDbg. It was based off a pre-release Iron Python, and things have since broken. We updated at least once to keep up with the breaks. We're aware of the problems and...
Mike Stall's .NET Debugging Blog
Working on managed wrappers for Native Debugging API
Posted
over 6 years ago
by
Mike Stall - MSFT
12
Comments
FWIW, I've been working on some managed wrappers for the native debugging API ( kernel32!WaitForDebugEvent ,etc) My goals are: Make it extremely easy to use the native debugging API. Maintain fidelity to the native debug API. I didn’t want...
Mike Stall's .NET Debugging Blog
How to build Mdbg apps
Posted
over 6 years ago
by
Mike Stall - MSFT
1
Comments
I often publish little samples in this blog based off MDbg (which generally show off the debugging services in some way; such as app to convert Pdb-->XML , or this harness to print all exceptions in an app ). I generally call these apps "harnesses...
Mike Stall's .NET Debugging Blog
Managed Stack Explorer
Posted
over 6 years ago
by
Mike Stall - MSFT
3
Comments
Check out: Managed Stack Explorer . It's a tool on CodePlex that lets you automatically get stack snapshots of V2 managed processes. Its debugging inspection functionality (viewing callstacks) is built on the CLR Debugging Services via ICorDebug, and...
Mike Stall's .NET Debugging Blog
Felice Pollano: Integrating a debugger into Reflector
Posted
over 6 years ago
by
Mike Stall - MSFT
3
Comments
Felice Pollano is working on project to make merge Reflector (an IL-->C# decompiler) and Mdbg (a managed debugger). See here for details. I've said at many times this is possible, but have never had the cycles to go do it. (As a side note, there...
Mike Stall's .NET Debugging Blog
Why doesn't MDbg use generics?
Posted
over 6 years ago
by
Mike Stall - MSFT
3
Comments
If you've looked at the MDbg sources, you'll notice it looks a lot like a V1.1 app. There are few to no V2 (Whidbey) concepts in there: few anonymous delegates, very little (if any?) generics, no 'yield' keyword. Since MDbg shipped in V2, why didn't we...
Mike Stall's .NET Debugging Blog
Jan is on MSDN TV talking about MDbg
Posted
over 6 years ago
by
Mike Stall - MSFT
0
Comments
Jan Stranik is on MSDN TV talking about MDbg , the managed-debugging sample written in C#. See the video here . Jan wrote most of MDbg, and handle a lot of hard problems about getting a working debugger in managed code. He gives a brief overview of...
Mike Stall's .NET Debugging Blog
MDbg, Managed-debugging, and 64 bit
Posted
over 6 years ago
by
Mike Stall - MSFT
2
Comments
V2 CLR added support for 64-bit (amd64 and ia64), and that includes managed-debugging support. So a 64-bit MDbg can debug a 64-bit managed app. But what about cross-platform stuff when your debugger and debuggee are different platforms? Here's how MDbg...
Mike Stall's .NET Debugging Blog
Sample Mdbg extension
Posted
over 6 years ago
by
Mike Stall - MSFT
4
Comments
Here is a template for playing around with an extension for the MDbg sample (Mdbg is the managed debuggeer written in C#). It adds an "Addition" command to MDbg that adds two numbers. Not very exciting, but it shows the plumbing. You can download the...
Mike Stall's .NET Debugging Blog
MDbg UI Threading, round 2
Posted
over 6 years ago
by
Mike Stall - MSFT
2
Comments
The STA/MTA threading problem is (hopefully) fixed in the latest MDbg winforms Gui . (which also has some cool new features, including an IL disassembly window ) The original solution implemented in the original GUI (described here ) had the problem...
Mike Stall's .NET Debugging Blog
Mdbg IronPython Extension updated for Beta 1
Posted
over 6 years ago
by
Mike Stall - MSFT
1
Comments
You probably heard that Iron Python Beta 1 was released . It has a small (but very worthy) breaking change, and I've updated the MDbg-IronPython extension accordingly. I updated it previously for 0.9.3 . The changes are related to redirecting the python...
Mike Stall's .NET Debugging Blog
MDbg sample is updated for VS2005 RTM
Posted
over 7 years ago
by
Mike Stall - MSFT
2
Comments
We've updated the MDbg source sample ( download here ) for Visual Studio 2005. This latest round of updates includes an integrated IL view , making the UI thread STA, fixing some build problems with VS2005 RTM and C# Express. It took me under 3 minutes...
Mike Stall's .NET Debugging Blog
Tool to get snapshot of managed callstacks
Posted
over 7 years ago
by
Mike Stall - MSFT
14
Comments
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 ...
Mike Stall's .NET Debugging Blog
Writing a debugger in VB
Posted
over 7 years ago
by
Mike Stall - MSFT
1
Comments
Some might consider writing a managed debugger in VB.Net to be an oxymoron . But maybe not. Here's a VB.Net snippet that serves as a highly-specialized debugger to launch an app and print all the modules that get loaded. This is adapted from the C#...
Mike Stall's .NET Debugging Blog
Updated MDbg GUI
Posted
over 7 years ago
by
Mike Stall - MSFT
3
Comments
I've updated the MDbg GUI . We'll be integrating this into the actual MDbg sample and it will all be available in the MDbg download. Here's a list of what's improved. I'll certainly post when the download site gets updated. IL support 1) Added integrated...
Mike Stall's .NET Debugging Blog
MDbg Linkfest
Posted
over 7 years ago
by
Mike Stall - MSFT
11
Comments
MDbg is a debugger for managed code written entirely in C# (and IL), which started shipping in the CLR 2.0 SDK. I have so many MDbg posts, that I'm losing track of them. And others have had some good posts too. For my own organization, I need to create...
Mike Stall's .NET Debugging Blog
Summary of the role of MDbg and Cordbg
Posted
over 7 years ago
by
Mike Stall - MSFT
6
Comments
I want to summarize in one place our views on Mdbg and Cordbg, and our plans for their future. Our views on the different debuggers : Cordbg/Mdbg - In general, we've never viewed Cordbg or MDbg as ideal production quality debuggers. We view Cordbg...
Mike Stall's .NET Debugging Blog
MDbg extension to debug IL
Posted
over 7 years ago
by
Mike Stall - MSFT
14
Comments
I've updated the MDbg gui to provide IL debugging. I blogged here that the CLR actually lets you debug at the IL level (with some restrictions), but no debugger actually exposes this feature. People were skeptical, and now that we shipped whidbey, I've...
Mike Stall's .NET Debugging Blog
MDbg Sample temporarily broken in post-beta 2 builds.
Posted
over 7 years ago
by
Mike Stall - MSFT
6
Comments
Customers have alerted us that the MDBg sample is broken on post-beta 2 builds. Rick Byers has diagnosed the problem as an issue in the mdbg build and we're working to update it. I guess there was a VS change that exposed this problem. Rick may blog a...
Mike Stall's .NET Debugging Blog
Adding IronPython scripting engine to Mdbg
Posted
over 7 years ago
by
Mike Stall - MSFT
12
Comments
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...
Mike Stall's .NET Debugging Blog
Converting a managed PDB into a XML file.
Posted
over 7 years ago
by
Mike Stall - MSFT
11
Comments
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...
Mike Stall's .NET Debugging Blog
MDbg Sample is updated for Beta 2 and RTM
Posted
over 7 years ago
by
Mike Stall - MSFT
14
Comments
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...
Mike Stall's .NET Debugging Blog
Simple harness to print exceptions in an app
Posted
over 7 years ago
by
Mike Stall - MSFT
9
Comments
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...
Page 1 of 2 (35 items)
1
2