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)
July, 2005
MSDN Blogs
>
Mike Stall's .NET Debugging Blog
>
July, 2005
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Mike Stall's .NET Debugging Blog
Correction: you can't reasonably instantiate your own ICorDebug
Posted
over 7 years ago
by
Mike Stall - MSFT
0
Comments
There’s a significant problem for 3rd-party hobbyists trying to implement their own ICorDebug: how do you get a debugger (like VS) to instantiate your private version? I briefly talked about that here but realize that my advice there was misleading. ICorDebug...
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...
Mike Stall's .NET Debugging Blog
Using ICorDebugProcess::HasQueuedCallbacks
Posted
over 7 years ago
by
Mike Stall - MSFT
5
Comments
The native debugging APIs (like kernel32!WaitForDebugEvent ), dispatch one debug event at a time. In contrast, ICorDebug queues up debug events and such may be ready to dispatch multiple events at a single stop. This is an extremely significant difference...
Mike Stall's .NET Debugging Blog
Debug support for arbitrary state-machines
Posted
over 7 years ago
by
Mike Stall - MSFT
8
Comments
I mentioned here that if your language compiles to IL, then you get free debugging support with Visual Studio (and other managed debuggers). But what if you have an interpreter that can’t compile to IL? For example, suppose you load some state machine...
Mike Stall's .NET Debugging Blog
Source-level step-in is not well defined.
Posted
over 7 years ago
by
Mike Stall - MSFT
3
Comments
One of the things that causes us grief is that source-level step-in (F11 in VS) is not a well-defined operation. Some examples : Consider the following call to static method foo: MyClass.foo(...); Now offhand, you'd expect the step-in to land in the method...
Mike Stall's .NET Debugging Blog
My wish: CLR as gaming scripting engine for Civilization
Posted
over 7 years ago
by
Mike Stall - MSFT
5
Comments
I'm a big fan of Sid Meier's Civilization series. One thing I would love to see is for them to use the CLR as back-end scripting engine. Alpha Centauri (SMAC) had some good automation, but you could really work some wonders if you had a full scripting...
Mike Stall's .NET Debugging Blog
Problem with .maxstack in IL-roundtripping tools
Posted
over 7 years ago
by
Mike Stall - MSFT
3
Comments
I previously posted a tool to allow inline IL in C# / VB.Net. At the IL level, the CLR needs to know the maximum stack depth of each method. This can be specified in ILasm via the “.maxstack” directive. In that post I wrongfully said that if you leave...
Mike Stall's .NET Debugging Blog
A common problem: forgetting to call ICorDebugAppDomain::Attach
Posted
over 7 years ago
by
Mike Stall - MSFT
2
Comments
I notice one of the most common issues folks hit when they try to write their own managed debugger is forgetting to call ICorDebugAppomain::Attach() at the right time. I've seen this 3 different times recently. This part of ICorDebug is not documented...
Mike Stall's .NET Debugging Blog
64-bit CLR doesn't support Interop debugging
Posted
over 7 years ago
by
Mike Stall - MSFT
3
Comments
Just FYI, we don't support interop-debugging on 64-bit CLR (or on win9x). You can still do 32-bit interop-debugging within the WOW on 64-bit. (You also can't do managed-debugging locally across the WOW boundary. You can set up a remote debugging channel...
Mike Stall's .NET Debugging Blog
It's been a while
Posted
over 7 years ago
by
Mike Stall - MSFT
5
Comments
I notice it's been a while since I blogged last. I'm still here - we've just been really focused on shipping Whidbey and had some important deadlines. There are a few entries I'm in the middle of writing that I hope people will find valuable, particularly...
Page 1 of 1 (10 items)