[wingide-users] debug Python for script embedded to C++ game

Denis frankinshtein at bk.ru
Wed Apr 22 16:05:59 MDT 2009


when I import wingdbstub:
1. game is launching
2. WingIDE and game freeze
3. in ~10 seconds WingIDE unfreeze with status written in the bottom of 
window: no process debug....
4. in ~2 seconds this string dissapear
5. game is still frozen
6. ctrl+alt+del...

I attached log



Wingware Support wrote:
> Denis wrote:
>> if I launch C++ app with script and imported module 'wingdbstub' -> 
>> app is freezing inside of Python
>
> What specifically is happening when you import wingdbstub?  It may 
> help if you send a debug log (set kLogFile in wingdbstub.py) to us at 
> support at wingware.com
>
> Thanks,
>
> John
>
>

-------------- next part --------------
================================================================================Wing IDE Debug Log File
This file can be used to diagnose problems in debugger internals
For help, contact support at wingware.com
================================================================================

--------------------------------------------------------------------------------STARTING NEW DEBUG LOGGING SESSION
--------------------------------------------------------------------------------
wingdbg - 2009/04/23 03:58:24 - 'netserver CLOSECHANNEL' 
wingdbg - 2009/04/23 03:58:24 - 'Bound attach listener to port' 50015 
wingdbg - 2009/04/23 03:58:24 - '******************** START DEBUG ************************' 
wingdbg - 2009/04/23 03:58:24 - 'ABOUT TO INIT' 
wingdbg - 2009/04/23 03:58:24 - 'SET UP C CORE' 
wingdbg - 2009/04/23 03:58:24 - 'RESET' 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module 'abstract' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\abstract.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\abstract.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module 'constants' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\constants.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\constants.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module 'dbgserver' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\dbgserver.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\dbgserver.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module 'dbgutils' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\dbgutils.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\dbgutils.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module '_extensions' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_extensions.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_extensions.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module 'findmodules' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\findmodules.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\findmodules.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module 'netserver' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\netserver.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\netserver.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module 'securechannel' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\opensource\schannel\securechannel.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\opensource\\\\schannel\\\\securechannel.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module 'dbginspect' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\dbginspect.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\dbginspect.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module '_gtkhooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_gtkhooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_gtkhooks.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module '_zopehooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_zopehooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_zopehooks.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module '_tkinterhooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_tkinterhooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_tkinterhooks.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module '_wxhooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_wxhooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_wxhooks.py'" 
wingdbg - 2009/04/23 03:58:24 - 'Registering internal module: ' <module '_wx25hooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_wx25hooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_wx25hooks.py'" 
wingdbg - 2009/04/23 03:58:24 - 'setting __fClient to' <netserver.CNetworkServer instance at 0x061A4328> 
wingdbg - 2009/04/23 03:58:24 - 'RESET' 

--------------------------------------------------------------------------------STARTING NEW DEBUG LOGGING SESSION
--------------------------------------------------------------------------------
wingdbg - 2009/04/23 04:02:40 - 'netserver CLOSECHANNEL' 
wingdbg - 2009/04/23 04:02:40 - 'Bound attach listener to port' 50015 
wingdbg - 2009/04/23 04:02:40 - '******************** START DEBUG ************************' 
wingdbg - 2009/04/23 04:02:40 - 'ABOUT TO INIT' 
wingdbg - 2009/04/23 04:02:40 - 'SET UP C CORE' 
wingdbg - 2009/04/23 04:02:40 - 'RESET' 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module 'abstract' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\abstract.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\abstract.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module 'constants' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\constants.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\constants.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module 'dbgserver' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\dbgserver.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\dbgserver.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module 'dbgutils' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\dbgutils.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\dbgutils.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module '_extensions' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_extensions.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_extensions.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module 'findmodules' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\findmodules.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\findmodules.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module 'netserver' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\netserver.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\netserver.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module 'securechannel' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\opensource\schannel\securechannel.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\opensource\\\\schannel\\\\securechannel.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module 'dbginspect' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\dbginspect.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\dbginspect.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module '_gtkhooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_gtkhooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_gtkhooks.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module '_zopehooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_zopehooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_zopehooks.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module '_tkinterhooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_tkinterhooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_tkinterhooks.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module '_wxhooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_wxhooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_wxhooks.py'" 
wingdbg - 2009/04/23 04:02:40 - 'Registering internal module: ' <module '_wx25hooks' from 'C:\Program Files\Wing IDE 3.1\bin\2.6\src\debug\tserver\_wx25hooks.pyc'> '; ' "'C:\\\\Program Files\\\\Wing IDE 3.1\\\\bin\\\\2.6\\\\src\\\\debug\\\\tserver\\\\_wx25hooks.py'" 
wingdbg - 2009/04/23 04:02:40 - 'setting __fClient to' <netserver.CNetworkServer instance at 0x0601F418> 
wingdbg - 2009/04/23 04:02:40 - 'RESET' 


More information about the wingide-users mailing list