Wednesday, December 14, 2005

Several classes for exception handling - The Code Project - C++ / MFC

When C++ programs crashes, sometimes, it's really hard to figure out where it goes wrong exactly. .Net improved a lot on this aspect, you can find out where it crashes by pritinting out the stack trace.

Konstantin Boukreev's approach allows you to print out the stack trace in the exception hanlder, which is very useful to diagonose the problem.

There is a very similar article also on code project called Walking the callstack , which is also helps you to find out the stack trace in VC++.

No comments: