[Pydev-users] [pydev - Users] RE: Remote Debugging
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2006-10-16 19:38:13
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3966365 By: surenreddy1 Yes, that was correct. I had to move the files under /usr/lib64/python2.4/site-packages for now until I figure out how to set the pythonpath. In the meanwhile, this is what I get now. I defined a function called eclipseDebugTester def eclipseDebugTester(): print "Setting Trace" import pydevd; pydevd.settrace('192.168.20.216') a = 1; b = 2; return a + b; When I call the http://192.168.20.216/python/src/root/myhandler.py/eclipseDebugTester, here is what I get. Mod_python error: "PythonHandler mod_python.publisher" Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line 136, in handler result = util.apply_fs_data(object, req.form, req=req) File "/usr/lib64/python2.4/site-packages/mod_python/util.py", line 361, in apply_fs_data return object(**args) File "/var/www/html/python/src/root/myhandler.py", line 14, in eclipseDebugTester import pydevd; pydevd.settrace('192.168.20.216') File "/usr/lib64/python2.4/site-packages/pydevd.py", line 805, in settrace debugger.connect(host, 5678) File "/usr/lib64/python2.4/site-packages/pydevd.py", line 200, in connect s = startClient(host, port) File "/usr/lib64/python2.4/site-packages/pydevd_comm.py", line 251, in startClient sys.exit(1) SystemExit: 1 ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |