class com.sun.tools.example.debug.bdi.Session
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.bdi.Session
super_class: java.lang.Object
{
final com.sun.jdi.VirtualMachine vm;
descriptor: Lcom/sun/jdi/VirtualMachine;
flags: (0x0010) ACC_FINAL
final com.sun.tools.example.debug.bdi.ExecutionManager runtime;
descriptor: Lcom/sun/tools/example/debug/bdi/ExecutionManager;
flags: (0x0010) ACC_FINAL
final com.sun.tools.example.debug.bdi.OutputListener diagnostics;
descriptor: Lcom/sun/tools/example/debug/bdi/OutputListener;
flags: (0x0010) ACC_FINAL
boolean running;
descriptor: Z
flags: (0x0000)
boolean interrupted;
descriptor: Z
flags: (0x0000)
private com.sun.tools.example.debug.bdi.JDIEventSource eventSourceThread;
descriptor: Lcom/sun/tools/example/debug/bdi/JDIEventSource;
flags: (0x0002) ACC_PRIVATE
private int traceFlags;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean dead;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.jdi.VirtualMachine, com.sun.tools.example.debug.bdi.ExecutionManager, com.sun.tools.example.debug.bdi.OutputListener);
descriptor: (Lcom/sun/jdi/VirtualMachine;Lcom/sun/tools/example/debug/bdi/ExecutionManager;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.sun.tools.example.debug.bdi.Session.running:Z
2: aload 0
iconst_0
putfield com.sun.tools.example.debug.bdi.Session.interrupted:Z
3: aload 0
aconst_null
putfield com.sun.tools.example.debug.bdi.Session.eventSourceThread:Lcom/sun/tools/example/debug/bdi/JDIEventSource;
4: aload 0
iconst_0
putfield com.sun.tools.example.debug.bdi.Session.dead:Z
5: aload 0
aload 1
putfield com.sun.tools.example.debug.bdi.Session.vm:Lcom/sun/jdi/VirtualMachine;
6: aload 0
aload 2
putfield com.sun.tools.example.debug.bdi.Session.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
7: aload 0
aload 3
putfield com.sun.tools.example.debug.bdi.Session.diagnostics:Lcom/sun/tools/example/debug/bdi/OutputListener;
8: aload 0
iconst_0
putfield com.sun.tools.example.debug.bdi.Session.traceFlags:I
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/example/debug/bdi/Session;
0 10 1 vm Lcom/sun/jdi/VirtualMachine;
0 10 2 runtime Lcom/sun/tools/example/debug/bdi/ExecutionManager;
0 10 3 diagnostics Lcom/sun/tools/example/debug/bdi/OutputListener;
MethodParameters:
Name Flags
vm
runtime
diagnostics
public boolean isInterrupted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.Session.interrupted:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/Session;
public void setTraceMode(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.tools.example.debug.bdi.Session.traceFlags:I
1: aload 0
getfield com.sun.tools.example.debug.bdi.Session.dead:Z
ifne 3
2: aload 0
getfield com.sun.tools.example.debug.bdi.Session.vm:Lcom/sun/jdi/VirtualMachine;
iload 1
invokeinterface com.sun.jdi.VirtualMachine.setDebugTraceMode:(I)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/bdi/Session;
0 4 1 traceFlags I
MethodParameters:
Name Flags
traceFlags
public boolean attach();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.Session.vm:Lcom/sun/jdi/VirtualMachine;
aload 0
getfield com.sun.tools.example.debug.bdi.Session.traceFlags:I
invokeinterface com.sun.jdi.VirtualMachine.setDebugTraceMode:(I)V
1: aload 0
getfield com.sun.tools.example.debug.bdi.Session.diagnostics:Lcom/sun/tools/example/debug/bdi/OutputListener;
ldc "Connected to VM"
invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
2: aload 0
new com.sun.tools.example.debug.bdi.JDIEventSource
dup
aload 0
invokespecial com.sun.tools.example.debug.bdi.JDIEventSource.<init>:(Lcom/sun/tools/example/debug/bdi/Session;)V
putfield com.sun.tools.example.debug.bdi.Session.eventSourceThread:Lcom/sun/tools/example/debug/bdi/JDIEventSource;
3: aload 0
getfield com.sun.tools.example.debug.bdi.Session.eventSourceThread:Lcom/sun/tools/example/debug/bdi/JDIEventSource;
invokevirtual com.sun.tools.example.debug.bdi.JDIEventSource.start:()V
4: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/bdi/Session;
public void detach();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.bdi.Session.dead:Z
ifne 8
1: aload 0
getfield com.sun.tools.example.debug.bdi.Session.eventSourceThread:Lcom/sun/tools/example/debug/bdi/JDIEventSource;
invokevirtual com.sun.tools.example.debug.bdi.JDIEventSource.interrupt:()V
2: aload 0
aconst_null
putfield com.sun.tools.example.debug.bdi.Session.eventSourceThread:Lcom/sun/tools/example/debug/bdi/JDIEventSource;
3: aload 0
getfield com.sun.tools.example.debug.bdi.Session.vm:Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.dispose:()V
4: goto 6
StackMap locals:
StackMap stack: com.sun.jdi.VMDisconnectedException
5: pop
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.tools.example.debug.bdi.Session.dead:Z
7: aload 0
getfield com.sun.tools.example.debug.bdi.Session.diagnostics:Lcom/sun/tools/example/debug/bdi/OutputListener;
ldc "Disconnected from VM"
invokeinterface com.sun.tools.example.debug.bdi.OutputListener.putString:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/bdi/Session;
Exception table:
from to target type
3 4 5 Class com.sun.jdi.VMDisconnectedException
}
SourceFile: "Session.java"