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*
poltr1: (polyfusion)

[personal profile] poltr1 2010-08-12 04:36 am (UTC)(link)
I feel your pain. I was running into the same problem stepping through Perl code on Eclipse using the EPIC plug-in and whatever module I loaded to view global variables. I couldn't see the variables, or it would go off into never-never-land.
madfilkentist: My cat Florestan (gray shorthair) (hex)

[personal profile] madfilkentist 2010-08-12 09:22 am (UTC)(link)
Sounds like the Heisenberg Uncertainty Principle of debugging. The more precisely you know what the state of your variables is, the less precisely you can know where you are.