Under The Hood - Matt Pietrek

Getting useful stack traces at exception time

One problem with debugging exceptions from a JIT attached debugger is that the call stack usually shows the flow through the OS exception processing code, rather than the call stack exactly where the exception occurred.

I've long known that I could pull an EIP out of the exception record structure to get the real address of interest. However, Mike Stall's blog takes the whole process even further. 

If I were actively writing books or articles, this is exactly the kind of cool stuff I'd be covering.

 

Published Wednesday, January 19, 2005 12:36 PM by Matt Pietrek

Comments

 

Rob Caron's Blog said:

January 20, 2005 2:26 AM
 

David Levine said:

You make it sound like you are out of the writing books/articles game...say it aint so! In fact, I'd call that an Access Violation (well, some sort of violation/exception).

January 20, 2005 8:08 AM
New Comments to this post are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker