Hi,<br />does somebody know how to debug SIP wrapped C++ code with Visual Studio 2008?<br /><br />I have build a custom QWidget in C++ and wrapped it with SIP. I use this widget from Python with PyQt. I have figured out, that I need python_d.lib to compile the widget in debug mode and how to create python_d.lib. <br /><br />In the VS 2008 project Debugging  configuration I use the following configuration:<br />application: C:\Python26\python.exe<br />arguments: the Python script, which loads the SIP generated module<br />working directory: The directory of the Python script<br /><br />The Python script crashes when it tries to load the SIP generated module and prints the following error message:<br />&quot;Fatal Python error: Interpreter not initialized (version mismatch?)&quot;<br /><br /><br />With Visual Studio 2003, Python 2.4 and swig I used this approach successfully to debug non Qt C++ components.<br /><br />Regards<br />Magnus