Bug below


No one pointed out a nasty little bug below. The define should not read #define CALLSTACK CallStack(…), but #define CALLSTACK CallStack aCallStackObject(…) indeed. Otherwise, the class d’tor would be called immediately and the whole thing would not make any sense. I corrected this mistake. On the one hand, I’m glad that I found that one myself; on the other hand, it indicates well that no one is reading my blog. I’ll start a promotion tour and add it to my developia board signature or so.

Happy Easter everyone.

Popularity: 1%

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts
Why patents suck
Exceptions and Stacktrace in C++

Write a Comment

Take a moment to comment and tell me what you think. Some basic HTML is allowed for formatting.

Reader Comments

Didn’t see the error because I didn’t look carefully at the code. And that was because I thought that it is not quite usable for me, because I simply use the Win32 built-in stack trace utility. :)

BTW: the CAPTCHA is not readable. This is my 3rd try of posting this.

Yeah, guess you’re right. I’ll try to tweak this a bit more.



FireStats icon Powered by FireStats