Tech Tutorials Database
GeekArticles Programming C++

Managed C++: Debugging with the StackTrace Class

Category: C++
Comments (0)

By Tom Archer As a C++ developer, you're more accustomed than most to looking at the call stack during your debugging sessions. As an extension of that, many times you need a way to programmatically retrieve stack information during the execution of your application. Unfortunately, for a long time the best you had for this task was the standard __FILE__ and __LINE__ directives. This week's tip introduces the StackTrace and StackFrame classes, which enable you to walk up the entire...n


Sponsored Links

Read Next: C++ Idioms in BREW: Better Interfaces