[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: com.sun.jdi.Location from org.eclipse.debug.core.model.IBreakpoint

Using jdb I am able to stop by "stop at $Oracle.Procedure.DTP.PROCEDURE1:5" as seen below

>
main[1] stop at $Oracle.Procedure.DTP.PROCEDURE1:5
Set breakpoint $Oracle.Procedure.DTP.PROCEDURE1:5
main[1] cont
>
Breakpoint hit: "thread=main", $Oracle.Procedure.DTP.PROCEDURE1.PROCEDURE1(), line=5 bci=5


what will be the equivalent of this using com.sun.jdi.VirtualMachine ?

Regards
Anthos
Darin Wright wrote:
Nope. We don't expose the JDI implementation in the Java debugger. If you look at the Java debugger's implementation of breakpoints, it has to do various things to translate an IBreakpoint into a location (depeding if the desired class is loaded in the target VM yet (you can only get locations for loaded classes)).

Darin Wright.

"Anil T Samuel" <anil.samuel@xxxxxxxxxx> wrote in message news:f7n0dn$1le$1@xxxxxxxxxxxxxxxxxxxx
Hi

I am trying to create a breakpoint, IBreakpoint, in a remote vm using
EventRequestManager.createBreakpointRequest(Location location). Is there any helper method or api to create a Location from a IBreakpoint ?


Regards
Anthos