From: Nitro <ni...@dr...> - 2006-06-08 15:04:14
|
> This seems to work great. The only change I made was to use %runtime %{ > ... %} to insert the code because that causes this to appear earlier in > the generated code (otherwise is comes after "#include <stdexcept>", > which may or may not matter). Won't that approach strip the _DEBUG symbol away from too many headers? For example if you #include "myHeader.h" and this header does something like #ifdef _DEBUG somewhere, then this won't work all of a sudden. Can you still debug through the wrappers (with symbol information and such) if _DEBUG is not defined for the parts except python? -Matthias |