billroper: (Default)
billroper ([personal profile] billroper) wrote2010-08-11 11:30 pm
Entry tags:

Bugged

I'm fixing up some serialization code that makes heavy use of C++ templates. Unfortunately, there's something not quite right with what's happening so I'm having to trace through it with the debugger to figure out what's going on.

This makes it very annoying when I tell the debugger to single step and instead it goes flying off somewhere at random, usually into the exception throw that I'm trying to find out the cause of. I can work around this by judicious use of breakpoints, but I really hate it when the debugger decides to misbehave.

*sigh*

[identity profile] kevinnickerson.livejournal.com 2010-08-12 01:11 pm (UTC)(link)
Happily, our exception throws (at least in debug builds) show the call stack. Not sure how, they were setup by someone else before I got moved from 'real programming' to C++/.NET.

Overall, I'm not a fan of the throw statement, I think it's overused. That's Religion though.

[identity profile] filkermanque.livejournal.com 2010-08-12 06:17 pm (UTC)(link)
Is anyone masking off interrupts where the debugger runs away?