Sign in
Mike Stall's .NET Debugging Blog
Notes on Managed Debugging, ICorDebug, and random .NET stuff
Blog - Link List
Other Blogs
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?
ASP.Net
ScottGu's blog
Henrik's blog
Brad Wilon's blog
Carlos Figueira's blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Compilers & Languages
Design
dlr
Edit-And-Continue (EnC)
Family
feedback
FuncEval
ICorDebug
Interop (mixed-mode)
linkfest
MDbg
Non-work
Pages
Quiz
Random
random .net
reading
Sample Code
Silverlight
This should be in MSDN
Troubleshooting
versioning
WebAPI
Whidbey (V2.0)
Windows Live
Archive
Archives
August 2012
(2)
May 2012
(3)
April 2012
(5)
March 2012
(2)
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)
February, 2007
MSDN Blogs
>
Mike Stall's .NET Debugging Blog
>
February, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Mike Stall's .NET Debugging Blog
'throw e;' vs. 'throw;'
Posted
over 6 years ago
by
Mike Stall - MSFT
10
Comments
Someone asked what the practical differences are between 'throw;' (no arguments) and 'throw object;' (in C# syntax). Specifically, what's the difference between: catch ( Exception e) { throw ; } and catch ( Exception e) { throw e;...
Mike Stall's .NET Debugging Blog
Catch, Rethrow, and Debuggability
Posted
over 6 years ago
by
Mike Stall - MSFT
18
Comments
When you catch and re throw an exception, the stack is unwound by the time the catch clause is executed, and thus you may lose valuable information in the debugger. Consider the following code snippet: static void Main( string [] args) { Func1a...
Mike Stall's .NET Debugging Blog
Making Catch, Rethrow more debuggable.
Posted
over 6 years ago
by
Mike Stall - MSFT
3
Comments
I previously mentioned that catch / rethrow an exception impedes debuggability because the callstack is unwound at the catch block, and thus you lose the callstack in the debugger. On technique to fix this is to take advantage of Just-My-Code ,which was...
Mike Stall's .NET Debugging Blog
Some tips for P/invoke
Posted
over 6 years ago
by
Mike Stall - MSFT
2
Comments
Here are some tips I've learned the hard way after wrapping some nasty things into managed code (including wrappers for the native debugging API and reading minidumps): Use resources like Pinvoke.net and Fxcop (which may have some useful marshalling...
Mike Stall's .NET Debugging Blog
Ratio between Managed and Native Modules
Posted
over 6 years ago
by
Mike Stall - MSFT
2
Comments
There is not always a 1:1 correlation between Managed modules and native modules. For example, Sometimes it's (managed:unmanaged) 1:1. (Normal file-based modules) This is the common case, so people tend to assume it's always true. Regular file-based...
Page 1 of 1 (5 items)