Posts Tagged debugging

Foreshadowing

Has this ever happened to you? You’re coding something new and exciting, and you can see that you’re getting close to a big goal. You don’t want to be distracted from reaching your perceived milestone, and you leave a trail of TODOs, FIXMEs, and other notes to yourself to take care of “minor details” after […]

,

Leave a comment

Tricky bugs and release libs

I’m wrapping up a bug right now that has to do with translating python exceptions into C++ exceptions. The translation occurrs as follows: Catch boost::python::error_already_set Import python modules which contain the exception types that I want to compare against Compare the thrown exception with the imported types using PyErr_ExceptionMatches Take appropriate actions (e.g. throw a […]

,

Leave a comment