On Sat, Aug 15, 2009 at 6:16 AM, william
ratcliff<william.ratcl...@gmail.com> wrote:
> Hi!  I was trying to use pydev (1.4.6.2788 ) with eclipse 3.4.1 and
> imported:
> http://code.google.com/p/jythonconsole/
> I found that if I run the project as a jython run, it runs well.  However,
> if I try to debug it, the console terminates without ever displaying a
> frame.  Any suggestions?

Hi William,

I've taken a look at it and it seems that's a jython bug when running with:

-Dpython.security.respectJavaAccessibility=false

The debugger needs that flag to gather the info on the java stuff
(even when not running in debug mode with that flag it'll have the
behavior you described).

Now, if you change in console.py (in the main function)
frame.visible = True

to

frame.setVisible(True)

at least it'll appear (and not finish the debug session), but it still
won't behave properly (there are probably other related things to
that).

As a side note, for some reason it seems that jython is not calling
the tracing function correctly in the console (it could be that the
console or one of its dependencies is using the tracing facilities and
removing the debugger).

Cheers,

Fabio

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to