Is there really no way to build wxPython with debug symbols but *not*
requiring a debug build of Python (and all my other C extensions)?
If not, err, why not?
TIA
-R
Is there really no way to build wxPython with debug symbols but *not*
requiring a debug build of Python (and all my other C extensions)?
If not, err, why not?
TIA
-R
Ranec wrote:
Is there really no way to build wxPython with debug symbols but *not*
requiring a debug build of Python (and all my other C extensions)?
Platform? I assume that you're talking about Windows since that is where this usually comes up.
IIRC the main thing for doing this with Python extensions is to make sure you build using the non-debug runtime library flag, (/MD instead of /MDd.) Then it will link to the same runtime lib as the non-debug Python and all will be well. For wx there are some flags defined in config.vc that will let you do this. For wxPython it might take a little tweaking in setup.py to add the debug info flags without needing to specify --debug.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Haven't done this for a while, but as I recall, you need a debug python build (python_d.exe, I think) in order to have the ifdef'd code to look for python libs with '_d', the convention for a debug dll/lib, aka .pyd.
There may be other issues, but that's one. And there may be a way to workaround, but I found it expedient to just build a debug python (to trace a crash.)
These comments all based on win32 version, I assume the situation is similar on other platforms.
Ranec wrote:
Is there really no way to build wxPython with debug symbols but *not*
requiring a debug build of Python (and all my other C extensions)?If not, err, why not?
TIA
-R
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users