[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [Dltk-dev] Python debugger | 
Hi all,
pydbgp.py should be specified as the debugging engine (at least on Windows). It works for me with current code (available to download as latest 1.0 build). Though since I am not a Python developer - I have tested only on simple scripts. 
If something goes wrong you should turn on 
[x] Enabled DBGP logging 
option in the debug configuration - it will open additional view to display debugger communication commands and responses. And when you meet the error - please post the relevant lines from the log.
Regards,
Alex
----- Original Message -----
From: "Andrew Mickish" <mickish@xxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Sent: Saturday, July 19, 2008 3:39:19 AM GMT +06:00 Almaty, Novosibirsk
Subject: Re: [Dltk-dev] Python debugger
This is the content of my Python debugger's bin directory: 
pydbgp.py 
pydbgpproxy.exe 
pydbgpproxy.py 
When I set the debugging engine to pydbgp.py, then the Debug button successfully runs the program, like when I hit the Run button. But when I set a breakpoint in the script, then I get the error 
java.lang.IllegalArgumentException 
An internal error occurred during: "Resume operation" 
It does seem to know the difference between a bogus file name and pydbgp.py. It won't run unless it's set to pydbgp.py. But I don't understand why you would supply a python script as a debugging engine... 
BTW, I'm using Eclipse 3.3.0 and DLTK 0.95.0 (downloaded today). 
Jae Gangemi wrote: 
i've never tried using the python proxy as the engine, i use the other file that's in the bin directory, pydbgp - i'd imagine there is one w/ a '.exe' on the end of it for windows (i'm on a mac). 
On Fri, Jul 18, 2008 at 4:12 PM, Andrew Mickish < mickish@xxxxxxx > wrote: 
I installed the ActiveState Python interpreter in C:\Python25, and unzipped the debugger in 
C:\Python25\Komodo-PythonRemoteDebugging-4.4.1-20896-win32-x86 
My Preferences->Python->Debug->Engines->ActiveState->Path is set to C:\Python25\Komodo-PythonRemoteDebugging-4.4.1-20896-win32-x86\bin\pydbgpproxy.exe 
My Python program Runs, but when I try to Debug, I get an error launching: 
Debugging Engine not connected to IDE 
Any ideas why I'm not able to debug Python scripts? 
Thanks! 
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev