Bug 195753 - implement python debugger support
Summary: implement python debugger support
Status: RESOLVED FIXED
Alias: None
Product: DLTK
Classification: Technology
Component: Python (show other bugs)
Version: 0.95   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Jae Gangemi CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on: 195750 198869 198878
Blocks:
  Show dependency tree
 
Reported: 2007-07-07 20:16 EDT by Jae Gangemi CLA
Modified: 2010-06-11 07:02 EDT (History)
2 users (show)

See Also:


Attachments
implemenation patch (28.70 KB, patch)
2007-07-07 20:17 EDT, Jae Gangemi CLA
no flags Details | Diff
implemenation patch (28.91 KB, patch)
2007-08-04 18:34 EDT, Jae Gangemi CLA
alex.panchenko: iplog+
Details | Diff
implemenation zip (13.05 KB, application/zip)
2007-08-04 18:35 EDT, Jae Gangemi CLA
alex.panchenko: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jae Gangemi CLA 2007-07-07 20:16:34 EDT
the attached patch provided a basic implementation for python debugger support, including an integration w/ active state's debugging engine.

however, i am unable to get the python engine to successfully connect to the dltk debugger backend. i've tracked the issue down to the initSuspends() method in the ScriptDebugTarget class.

it appears that the engine does not like the suspendOnEntry command it is sent.
Comment 1 Jae Gangemi CLA 2007-07-07 20:17:04 EDT
marking dependency on bug 195750
Comment 2 Jae Gangemi CLA 2007-07-07 20:17:38 EDT
Created attachment 73260 [details]
implemenation patch
Comment 3 Jae Gangemi CLA 2007-07-07 20:23:49 EDT
i should also point out that the patch contains a fix for an error that occurs when you try to open a python file by double clicking on it inside the script explorer.

Comment 4 Eclipse Webmaster CLA 2007-07-29 09:23:21 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991
Comment 5 Jae Gangemi CLA 2007-08-04 18:34:12 EDT
Created attachment 75388 [details]
implemenation patch

new patch synced against dltk head and other pending patches
Comment 6 Jae Gangemi CLA 2007-08-04 18:35:04 EDT
Created attachment 75389 [details]
implemenation zip

activestate debugger implementation as seperate plugin
Comment 7 Jae Gangemi CLA 2007-08-04 18:36:26 EDT
setting dependencies on 198869 (has the PythonTypeFactory implenentation) and 198878 (debug engine doesn't like suspend on enter/exit)
Comment 8 Jae Gangemi CLA 2007-08-04 18:36:50 EDT
(In reply to comment #5)
> Created an attachment (id=75388) [details]
> implemenation patch
> 
> new patch synced against dltk head and other pending patches
> 

this has remote debugging support too!
Comment 9 Andrei Sobolev CLA 2007-08-28 07:50:38 EDT
Sorry for so long response.

I've added project, but seems it doesn't work. Maybe I've missing something.
Then you try to debug python script, it just waits for debuger to connect, but it doesn't connect, it just hangs.

Jae could you look at it, please?
Comment 10 Jae Gangemi CLA 2007-08-28 07:55:13 EDT
this is related to bug 198878, once that issue is fixed, this should no longer hang.
Comment 11 Jae Gangemi CLA 2007-08-28 08:29:56 EDT
(In reply to comment #10)
> this is related to bug 198878, once that issue is fixed, this should no longer
> hang.

p.s. i think there are also outstanding commits associated w/ this patch - for instance, the engine selector still shows as 'new' in my source tree.
Comment 12 Jae Gangemi CLA 2007-11-03 19:45:48 EDT
done, first cut of python debugging
Comment 13 Andrey Platov CLA 2008-05-26 02:49:16 EDT
bulk change: fixed in 0.95