Thanks!

On Sun, Aug 16, 2009 at 7:08 PM, Fabio Zadrozny <fabi...@gmail.com> wrote:

> Ok, just to update on this:
>
> Pydev is no longer using the respectJavaAccessibility=False (fixed for
> 1.4.8 - svn: 2875), but there are still problems to debug jconsole.
> Seems like a bug with Jython 2.5+Swing+sys.settrace.  I've created a
> new bug for that at Jython: http://bugs.jython.org/issue1440
>
> Cheers,
>
> Fabio
>
> On Sat, Aug 15, 2009 at 8:37 PM, Fabio Zadrozny<fabi...@gmail.com> wrote:
> > Note: Created bug at jython for it: http://bugs.jython.org/issue1438
> >
> > So, to use the pydev debugger, right now your jython code cannot use
> > the property access (and needs to explicitly call the set/get
> > methods).
> >
> > Cheers,
> >
> > Fabio
> >
> > On Sat, Aug 15, 2009 at 7:50 PM, Fabio Zadrozny<fabi...@gmail.com>
> wrote:
> >>> Thanks for the quick reply!  However, I'm still confused.  In my
> registry,
> >>> I have:
> >>> # Setting this to false will allow Jython to provide access to
> >>> # non-public fields, methods, and constructors of Java objects.
> >>> python.security.respectJavaAccessibility = true
> >>> Yet, as you say, when I run the debugger, if I expand the command, it
> runs
> >>> with
> >>> -Dpython.security.respectJavaAccessibility=false
> >>
> >> Actually, that's hardcoded in pydev when running a debug session... I
> >> suggest trying to use the pydev extensions remote debugger (
> >> http://fabioz.com/pydev/manual_adv_remote_debugger.html )-- I can
> >> check if that could be an option (although the debugger won't be able
> >> to show lots of info without that flag).
> >>
> >> Cheers,
> >>
> >> Fabio
> >>
> >>
> >>> Any ideas?
> >>> Thanks,
> >>> William
> >>> On Sat, Aug 15, 2009 at 2:06 PM, Fabio Zadrozny <fabi...@gmail.com>
> wrote:
> >>>>
> >>>> 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
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> 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
> >>>
> >>>
> >>
> >
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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