Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Debugging custom scripts interpreted in Java


  i believe what johan is saying is that you need to fire off two debugging processes, one for the dltk script, and one for the java code you wish to intercept.

On Fri, Sep 12, 2008 at 2:27 PM, Edgar Espina <espina.edgar@xxxxxxxxx> wrote:
Is it really possible do that?

I think that DLTK debugger only support the "dbgp" protocol.


On Fri, Sep 12, 2008 at 3:07 PM, Johan Compagner <jcompagner@xxxxxxxxx> wrote:
In the further we also want that for _javascript_, i guess somehow you
need to start a script and java debugger at once.  I guess you can
already do that manually, lets dltk debugger start you java program
with the java debugging connection params and after start also connect
(remote debug launch config) to you process.

On 9/12/08, Andrew Mickish <mickish@xxxxxxx> wrote:
> My company has a scripting language suited to financial analysis,
> evaluated by our own interpreter written in Java, which delegates script
> functions to underlying Java subroutines.
>
> If we implemented a DLTK plugin for our script, could Eclipse stop at
> breakpoints in both our scripts AND in the Java code?
>
> I studied the Eclipse PyDev plugin using Jython, and was able to call
> Java subroutines from Python.  However, because PyDev's Eclipse
> debugging interface is handled exclusively by the pydevd.py wrapper, it
> does not allow stepping into the underlying Java code, and my Java
> breakpoints were ignored.  I was not able to get the DLTK Python
> debugger working on my own (DLTK-dev message on 7/18/2008), so I do not
> know if it behaves similarly.
>
> The Groovy Eclipse plugin works like I would expect, but I bet they get
> some freebies by generating Java class files that match the rest of the
> process being debugged.
>
> Does DLTK support integrated debugging for my script and Java files?
>
> Thanks!
>
> --Andrew Mickish
>
>
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev




--
-jae

Back to the top