Debugger crashes XBMC - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Debugger crashes XBMC (/showthread.php?tid=79299) |
Debugger crashes XBMC - alshain - 2010-08-19 Since I am struggling with the error in the other post, I decided to have a look around to find means of debugging the scripts via Eclipse. So I stumbled on this wiki entry: http://wiki.xbmc.org/index.php?title=HOW-TO_debug_Python_Scripts_with_Eclipse When it connects to the debugger, control is passed to Eclipse. I can see variables and stuff, so it seems to be working. When I hit "resume", it crashes XBMC. Looking at the debug log, this is the first problem that arises: Code: 16:22:12 T:3648 M:3714027520 NOTICE: ------------------------------------------------------------------------------- So apparently (and obviously I guess) it doesn't have any means to make sense of this bogus "special" protocol. I suppose that's why none of the breakpoints work. At the end of the script XBMC decides to go bye-bye. Code: 16:22:26 T:3648 M:3709140992 INFO: msg: Fatal Python error: Py_EndInterpreter: not the last thread I thought I could just call some function to end the thread, or join() it. However, I am not sure how to get to that thread. Any ideas? - Clumsy - 2010-08-22 Been seeing similar issues but haven't really had much of a chance to look into it yet. Might nag some devs to look into it, since debugging plugins with eclipse is quite comfortable. - VectorTang - 2010-09-01 Hi, alshain: Unfortunately, I faced exactly the same problem.I notice two problems: 1.According to the wiki entry:http://wiki.xbmc.org/index.php?title...s_with_Eclipse,there should be a folder named "Lib" under the xbmc/system/python/,and generally the folder /xbmc/system/python/Lib contains some py files,but however,there is a python14.zlib file instead . if we add "pysrc" folder to such file, it seems not work,because there is a file '/xbmc/system/python/DLLs/zlib.pyd' to correspond it.maybe it needs recompile. 2.I noticed the error message that notice missing files.It seems because the different file syntax mixed.Linux style '/' and windows style '\' appear at the same time. I spend a lot time but can't solve it. Will you help me out? you can contact me by email [email protected] |