Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] Debugger framework

bit old topic; relevant now since I back onto this.

If I have a instance of com.sun.jdi.VirtualMachine obtained using following code snippet.

VirtualMachineManager mgr = Bootstrap.virtualMachineManager();
ListeningConnector lc = (ListeningConnector) mgr.listeningConnectors ().get(0);
if (lc == null) {
throw new RuntimeException("No com.sun.jdi.SocketListen type found");
}

Map map = lc.defaultArguments();
IntegerArgument arg = (IntegerArgument) map.get("port");
arg.setValue(4000);
arg = (IntegerArgument) map.get("timeout");
arg.setValue(0);
lc.startListening(map);
VirtualMachine vm = lc.accept(map);

How can I use this instance to populate the Debug perspective views such as Stack, Variables ? I suppose it will be fairly straight forward since SQL Debugger is built on top of the Eclipse Debug Framework.

Regards
Anthos

On 16/11/2006, at 1:35 PM, Hui.Cao@xxxxxxxxxx wrote:


Right. SQL Debugger is built on top of the Eclipse Debug Framework.

Best Regards!

Max ( Hui ) Cao
Sybase, Inc. Shanghai, China



Anil T Samuel <anil.samuel@xxxxxxxxxx>
Sent by: dtp-dev-bounces@xxxxxxxxxxx
11/16/2006 08:32 AM
Please respond to
DTP development mailing list <dtp-dev@xxxxxxxxxxx>


To
DTP development mailing list <dtp-dev@xxxxxxxxxxx>
cc
Subject
[dtp-dev] Debugger framework





Hi

Is the Debugger framework in SQLTools in-line what is explained in this
article ?

http://www.eclipse.org/articles/Article-Debugger/how-to.html

I am trying to get a grip on our DTP debugger framework.

Regards
Anthos
_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev


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




Back to the top