Hi,
thanks for LiClipse, I am testing it now and I have to say finally decent solution for my python scripting adventure.
I would like to kindly ask for any help with remote debug issue:
I am using LiClipse + PyDev for remote debugging Kodi script in python. I am able to debug fully (watches, breakpoints,variables ...) any plugin,
but only one time. Another attempt for debugging resulting in
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: classes are read-only in restricted mode
Traceback (most recent call last):
File "C:\Users\decak\AppData\Roaming\Kodi\addons\plugin.video.sosac.ph\default.py", line 37, in <module>
pydevd.settrace('localhost', stdoutToServer=True, stderrToServer=True,trace_only_current_thread=False)
File "e:\Program Files\Brainwy\LiClipse 3.1.0\plugins\org.python.pydev_5.2.0.201608171655\pysrc\pydevd.py", line 1129, in settrace
patch_multiprocessing,
File "e:\Program Files\Brainwy\LiClipse 3.1.0\plugins\org.python.pydev_5.2.0.201608171655\pysrc\pydevd.py", line 1208, in _locked_settrace
debugger.patch_threads()
File "e:\Program Files\Brainwy\LiClipse 3.1.0\plugins\org.python.pydev_5.2.0.201608171655\pysrc\pydevd.py", line 845, in patch_threads
def patch_threads(self):
File "e:\Program Files\Brainwy\LiClipse 3.1.0\plugins\org.python.pydev_5.2.0.201608171655\pysrc\_pydevd_bundle\pydevd_trace_dispatch.py", line 23, in trace_dispatch
return _trace_dispatch(py_db, frame, event, arg)
File "_pydevd_bundle\pydevd_cython_win32_27_32.pyx", line 872, in _pydevd_bundle.pydevd_cython_win32_27_32.trace_dispatch (_pydevd_bundle/pydevd_cython_win32_27_32.c:14458)
File "e:\Program Files\Brainwy\LiClipse 3.1.0\plugins\org.python.pydev_5.2.0.201608171655\pysrc\pydevd_tracing.py", line 77, in SetTrace
TracingFunctionHolder._warn = False
RuntimeError: classes are read-only in restricted mode Thanks for any clarification
Zbyněk
LiClipse 3.1.0.201608171655
PyDev for Eclipse 5.2.0.201608171655