public class com.sun.tools.example.debug.gui.CommandInterpreter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.gui.CommandInterpreter
super_class: java.lang.Object
{
boolean echo;
descriptor: Z
flags: (0x0000)
com.sun.tools.example.debug.gui.Environment env;
descriptor: Lcom/sun/tools/example/debug/gui/Environment;
flags: (0x0000)
private com.sun.tools.example.debug.gui.ContextManager context;
descriptor: Lcom/sun/tools/example/debug/gui/ContextManager;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.bdi.ExecutionManager runtime;
descriptor: Lcom/sun/tools/example/debug/bdi/ExecutionManager;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.ClassManager classManager;
descriptor: Lcom/sun/tools/example/debug/gui/ClassManager;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.SourceManager sourceManager;
descriptor: Lcom/sun/tools/example/debug/gui/SourceManager;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.OutputSink out;
descriptor: Lcom/sun/tools/example/debug/gui/OutputSink;
flags: (0x0002) ACC_PRIVATE
private java.lang.String lastCommand;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.jdi.ThreadReference[] threads;
descriptor: [Lcom/sun/jdi/ThreadReference;
flags: (0x0002) ACC_PRIVATE
private com.sun.jdi.ThreadGroupReference defaultThreadGroup;
descriptor: Lcom/sun/jdi/ThreadGroupReference;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.tools.example.debug.gui.Environment);
descriptor: (Lcom/sun/tools/example/debug/gui/Environment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokespecial com.sun.tools.example.debug.gui.CommandInterpreter.<init>:(Lcom/sun/tools/example/debug/gui/Environment;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 2 1 env Lcom/sun/tools/example/debug/gui/Environment;
MethodParameters:
Name Flags
env
public void <init>(com.sun.tools.example.debug.gui.Environment, boolean);
descriptor: (Lcom/sun/tools/example/debug/gui/Environment;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "help"
putfield com.sun.tools.example.debug.gui.CommandInterpreter.lastCommand:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.sun.tools.example.debug.gui.CommandInterpreter.threads:[Lcom/sun/jdi/ThreadReference;
3: aload 0
aload 1
putfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
4: aload 0
iload 2
putfield com.sun.tools.example.debug.gui.CommandInterpreter.echo:Z
5: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.Environment.getExecutionManager:()Lcom/sun/tools/example/debug/bdi/ExecutionManager;
putfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
6: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.Environment.getContextManager:()Lcom/sun/tools/example/debug/gui/ContextManager;
putfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
7: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.Environment.getClassManager:()Lcom/sun/tools/example/debug/gui/ClassManager;
putfield com.sun.tools.example.debug.gui.CommandInterpreter.classManager:Lcom/sun/tools/example/debug/gui/ClassManager;
8: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.Environment.getSourceManager:()Lcom/sun/tools/example/debug/gui/SourceManager;
putfield com.sun.tools.example.debug.gui.CommandInterpreter.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 10 1 env Lcom/sun/tools/example/debug/gui/Environment;
0 10 2 echo Z
MethodParameters:
Name Flags
env
echo
private com.sun.jdi.ThreadReference[] threads();
descriptor: ()[Lcom/sun/jdi/ThreadReference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.threads:[Lcom/sun/jdi/ThreadReference;
ifnonnull 7
1: new com.sun.tools.example.debug.bdi.ThreadIterator
dup
aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.getDefaultThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
invokespecial com.sun.tools.example.debug.bdi.ThreadIterator.<init>:(Lcom/sun/jdi/ThreadGroupReference;)V
astore 1
start local 1 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: goto 5
4: StackMap locals: com.sun.tools.example.debug.bdi.ThreadIterator java.util.List
StackMap stack:
aload 2
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.nextThread:()Lcom/sun/jdi/ThreadReference;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.hasNext:()Z
ifne 4
6: aload 0
aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray com.sun.jdi.ThreadReference
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.jdi.ThreadReference[]
putfield com.sun.tools.example.debug.gui.CommandInterpreter.threads:[Lcom/sun/jdi/ThreadReference;
end local 2 end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.threads:[Lcom/sun/jdi/ThreadReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
2 7 1 ti Lcom/sun/tools/example/debug/bdi/ThreadIterator;
3 7 2 tlist Ljava/util/List<Lcom/sun/jdi/ThreadReference;>;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private com.sun.jdi.ThreadReference findThread(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/jdi/ThreadReference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
start local 3 1: aload 1
ldc "t@"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
2: aload 1
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
start local 2 3: goto 5
end local 2 4: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String top com.sun.jdi.ThreadReference
StackMap stack:
aload 1
astore 2
start local 2 5: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String java.lang.String com.sun.jdi.ThreadReference
StackMap stack:
aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.threads:()[Lcom/sun/jdi/ThreadReference;
astore 4
start local 4 6: aload 2
bipush 16
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;I)J
lstore 5
start local 5 7: aload 4
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 13
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String java.lang.String com.sun.jdi.ThreadReference com.sun.jdi.ThreadReference[] long top int int com.sun.jdi.ThreadReference[]
StackMap stack:
8: aload 10
iload 8
aaload
astore 7
start local 7 9: aload 7
invokeinterface com.sun.jdi.ThreadReference.uniqueID:()J
lload 5
lcmp
ifne 12
10: aload 7
astore 3
11: goto 14
end local 7 12: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
13: iload 8
iload 9
if_icmplt 8
14: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String java.lang.String com.sun.jdi.ThreadReference com.sun.jdi.ThreadReference[] long
StackMap stack:
aload 3
ifnonnull 20
15: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" is not a valid thread id."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
end local 5 end local 4 16: goto 20
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String java.lang.String com.sun.jdi.ThreadReference
StackMap stack: java.lang.NumberFormatException
17: pop
18: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Thread id \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" is ill-formed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
19: aconst_null
astore 3
20: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 21 1 idToken Ljava/lang/String;
3 4 2 id Ljava/lang/String;
5 21 2 id Ljava/lang/String;
1 21 3 thread Lcom/sun/jdi/ThreadReference;
6 16 4 threads [Lcom/sun/jdi/ThreadReference;
7 16 5 threadID J
9 12 7 thread2 Lcom/sun/jdi/ThreadReference;
Exception table:
from to target type
5 16 17 Class java.lang.NumberFormatException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
idToken
private com.sun.tools.example.debug.bdi.ThreadIterator allThreads();
descriptor: ()Lcom/sun/tools/example/debug/bdi/ThreadIterator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.tools.example.debug.gui.CommandInterpreter.threads:[Lcom/sun/jdi/ThreadReference;
1: new com.sun.tools.example.debug.bdi.ThreadIterator
dup
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.topLevelThreadGroups:()Ljava/util/List;
invokespecial com.sun.tools.example.debug.bdi.ThreadIterator.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private com.sun.tools.example.debug.bdi.ThreadIterator currentThreadGroupThreads();
descriptor: ()Lcom/sun/tools/example/debug/bdi/ThreadIterator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.tools.example.debug.gui.CommandInterpreter.threads:[Lcom/sun/jdi/ThreadReference;
1: new com.sun.tools.example.debug.bdi.ThreadIterator
dup
aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.getDefaultThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
invokespecial com.sun.tools.example.debug.bdi.ThreadIterator.<init>:(Lcom/sun/jdi/ThreadGroupReference;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private com.sun.tools.example.debug.bdi.ThreadGroupIterator allThreadGroups();
descriptor: ()Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.tools.example.debug.gui.CommandInterpreter.threads:[Lcom/sun/jdi/ThreadReference;
1: new com.sun.tools.example.debug.bdi.ThreadGroupIterator
dup
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.topLevelThreadGroups:()Ljava/util/List;
invokespecial com.sun.tools.example.debug.bdi.ThreadGroupIterator.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private com.sun.jdi.ThreadGroupReference getDefaultThreadGroup();
descriptor: ()Lcom/sun/jdi/ThreadGroupReference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.defaultThreadGroup:Lcom/sun/jdi/ThreadGroupReference;
ifnonnull 2
1: aload 0
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.systemThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
putfield com.sun.tools.example.debug.gui.CommandInterpreter.defaultThreadGroup:Lcom/sun/jdi/ThreadGroupReference;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.defaultThreadGroup:Lcom/sun/jdi/ThreadGroupReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private void setDefaultThreadGroup(com.sun.jdi.ThreadGroupReference);
descriptor: (Lcom/sun/jdi/ThreadGroupReference;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.example.debug.gui.CommandInterpreter.defaultThreadGroup:Lcom/sun/jdi/ThreadGroupReference;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 2 1 tg Lcom/sun/jdi/ThreadGroupReference;
MethodParameters:
Name Flags
tg
private void commandClasses();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 1
start local 1 1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.allClasses:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.ReferenceType
astore 2
start local 2 3: aload 1
aload 2
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
1 7 1 out Lcom/sun/tools/example/debug/gui/OutputSink;
3 4 2 refType Lcom/sun/jdi/ReferenceType;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private void commandMethods(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No class specified."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 4: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.findClass:(Ljava/lang/String;)Lcom/sun/jdi/ReferenceType;
astore 3
start local 3 5: aload 3
ifnull 26
6: aload 3
invokeinterface com.sun.jdi.ReferenceType.allMethods:()Ljava/util/List;
astore 4
start local 4 7: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 23
10: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer java.lang.String com.sun.jdi.ReferenceType java.util.List com.sun.tools.example.debug.gui.OutputSink int
StackMap stack:
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.Method
astore 7
start local 7 11: aload 5
new java.lang.StringBuilder
dup
aload 7
invokeinterface com.sun.jdi.Method.declaringType:()Lcom/sun/jdi/ReferenceType;
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 7
invokeinterface com.sun.jdi.Method.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
14: aload 7
invokeinterface com.sun.jdi.Method.argumentTypeNames:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
start local 8 15: aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 21
16: StackMap locals: com.sun.jdi.Method java.util.Iterator
StackMap stack:
aload 5
aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
17: aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
18: goto 21
19: StackMap locals:
StackMap stack:
aload 5
ldc ", "
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
20: goto 16
21: StackMap locals:
StackMap stack:
aload 5
ldc ")"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
end local 8 end local 7 22: iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 10
end local 6 24: aload 5
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
end local 5 end local 4 25: goto 27
26: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" is not a valid id or class name."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 28 1 t Ljava/util/StringTokenizer;
4 28 2 idClass Ljava/lang/String;
5 28 3 cls Lcom/sun/jdi/ReferenceType;
7 25 4 methods Ljava/util/List<Lcom/sun/jdi/Method;>;
8 25 5 out Lcom/sun/tools/example/debug/gui/OutputSink;
9 24 6 i I
11 22 7 method Lcom/sun/jdi/Method;
15 22 8 it Ljava/util/Iterator<Ljava/lang/String;>;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private com.sun.jdi.ReferenceType findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/jdi/ReferenceType;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.findClassesMatchingPattern:(Ljava/lang/String;)Ljava/util/List;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.size:()I
ifle 3
2: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.ReferenceType
areturn
3: StackMap locals: java.util.List
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 4 1 pattern Ljava/lang/String;
1 4 2 results Ljava/util/List<Lcom/sun/jdi/ReferenceType;>;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
pattern
private void commandThreads(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 5
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 2
start local 2 2: aload 0
aload 2
aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.getDefaultThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
iconst_0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.printThreadGroup:(Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/ThreadGroupReference;I)I
pop
3: aload 2
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
4: return
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 6: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.findThreadGroup:(Ljava/lang/String;)Lcom/sun/jdi/ThreadGroupReference;
astore 3
start local 3 7: aload 3
ifnonnull 10
8: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not a valid threadgroup name."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
9: goto 13
10: StackMap locals: java.lang.String com.sun.jdi.ThreadGroupReference
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 4
start local 4 11: aload 0
aload 4
aload 3
iconst_0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.printThreadGroup:(Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/ThreadGroupReference;I)I
pop
12: aload 4
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
end local 4 13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 14 1 t Ljava/util/StringTokenizer;
2 5 2 out Lcom/sun/tools/example/debug/gui/OutputSink;
6 14 2 name Ljava/lang/String;
7 14 3 tg Lcom/sun/jdi/ThreadGroupReference;
11 13 4 out Lcom/sun/tools/example/debug/gui/OutputSink;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private com.sun.jdi.ThreadGroupReference findThreadGroup(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/jdi/ThreadGroupReference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.allThreadGroups:()Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
astore 2
start local 2 1: goto 5
2: StackMap locals: com.sun.tools.example.debug.bdi.ThreadGroupIterator
StackMap stack:
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.nextThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
astore 3
start local 3 3: aload 3
invokeinterface com.sun.jdi.ThreadGroupReference.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.hasNext:()Z
ifne 2
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 7 1 name Ljava/lang/String;
1 7 2 tgi Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
3 5 3 tg Lcom/sun/jdi/ThreadGroupReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
name
private int printThreadGroup(com.sun.tools.example.debug.gui.OutputSink, com.sun.jdi.ThreadGroupReference, int);
descriptor: (Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/ThreadGroupReference;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=17, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
new java.lang.StringBuilder
dup
ldc "Group "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface com.sun.jdi.ThreadGroupReference.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
1: aload 2
invokeinterface com.sun.jdi.ThreadGroupReference.threads:()Ljava/util/List;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: iconst_0
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 17
6: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ThreadGroupReference int java.util.List int int int
StackMap stack:
aload 4
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.ThreadReference
astore 8
start local 8 7: aload 8
invokestatic com.sun.tools.example.debug.bdi.Utils.description:(Lcom/sun/jdi/ObjectReference;)Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 9
start local 9 8: iload 9
iload 5
if_icmple 10
9: iload 9
istore 5
10: StackMap locals: com.sun.jdi.ThreadReference int
StackMap stack:
aload 8
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
astore 10
start local 10 11: aload 10
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 11
start local 11 12: iload 11
iflt 14
aload 10
invokevirtual java.lang.String.length:()I
iload 11
if_icmple 14
13: aload 10
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 10
14: StackMap locals: java.lang.String int
StackMap stack:
aload 10
invokevirtual java.lang.String.length:()I
iload 6
if_icmple 16
15: aload 10
invokevirtual java.lang.String.length:()I
istore 6
end local 11 end local 10 end local 9 end local 8 16: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ThreadGroupReference int java.util.List int int int
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 6
end local 7 18: iload 3
aload 4
invokeinterface java.util.List.size:()I
iadd
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
astore 7
start local 7 19: aload 7
invokevirtual java.lang.String.length:()I
istore 8
start local 8 20: iconst_0
istore 9
start local 9 21: goto 50
22: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ThreadGroupReference int java.util.List int int java.lang.String int int
StackMap stack:
aload 4
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.ThreadReference
astore 10
start local 10 23: bipush 80
newarray 5
astore 11
start local 11 24: iconst_0
istore 12
start local 12 25: goto 28
26: StackMap locals: com.sun.jdi.ThreadReference char[] int
StackMap stack:
aload 11
iload 12
bipush 32
castore
27: iinc 12 1
StackMap locals:
StackMap stack:
28: iload 12
bipush 79
if_icmplt 26
end local 12 29: aload 11
bipush 79
iconst_0
castore
30: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 12
start local 12 31: aload 12
aload 11
invokevirtual java.lang.StringBuffer.append:([C)Ljava/lang/StringBuffer;
pop
32: iload 3
iload 9
iadd
iconst_1
iadd
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
astore 13
start local 13 33: aload 12
iload 8
aload 13
invokevirtual java.lang.String.length:()I
isub
34: aload 13
35: invokevirtual java.lang.StringBuffer.insert:(ILjava/lang/String;)Ljava/lang/StringBuffer;
pop
36: aload 12
iload 8
ldc "."
invokevirtual java.lang.StringBuffer.insert:(ILjava/lang/String;)Ljava/lang/StringBuffer;
pop
37: iload 8
iconst_2
iadd
istore 14
start local 14 38: aload 12
iload 14
aload 10
invokestatic com.sun.tools.example.debug.bdi.Utils.description:(Lcom/sun/jdi/ObjectReference;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.insert:(ILjava/lang/String;)Ljava/lang/StringBuffer;
pop
39: iload 14
iload 5
iconst_1
iadd
iadd
istore 14
40: aload 10
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
astore 15
start local 15 41: aload 15
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 16
start local 16 42: iload 16
iflt 44
aload 15
invokevirtual java.lang.String.length:()I
iload 16
if_icmple 44
43: aload 15
iload 16
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 15
44: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ThreadGroupReference int java.util.List int int java.lang.String int int com.sun.jdi.ThreadReference char[] java.lang.StringBuffer java.lang.String int java.lang.String int
StackMap stack:
aload 12
iload 14
aload 15
invokevirtual java.lang.StringBuffer.insert:(ILjava/lang/String;)Ljava/lang/StringBuffer;
pop
45: iload 14
iload 6
iconst_1
iadd
iadd
istore 14
46: aload 12
iload 14
aload 10
invokestatic com.sun.tools.example.debug.bdi.Utils.getStatus:(Lcom/sun/jdi/ThreadReference;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.insert:(ILjava/lang/String;)Ljava/lang/StringBuffer;
pop
47: aload 12
bipush 79
invokevirtual java.lang.StringBuffer.setLength:(I)V
48: aload 1
aload 12
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 49: iinc 9 1
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ThreadGroupReference int java.util.List int int java.lang.String int int
StackMap stack:
50: iload 9
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 22
end local 9 51: aload 2
invokeinterface com.sun.jdi.ThreadGroupReference.threadGroups:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 55
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ThreadGroupReference int java.util.List int int java.lang.String int top java.util.Iterator
StackMap stack:
52: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.ThreadGroupReference
astore 9
start local 9 53: aload 2
aload 9
invokeinterface com.sun.jdi.ThreadGroupReference.equals:(Ljava/lang/Object;)Z
ifne 55
54: iload 3
aload 0
aload 1
aload 9
iload 3
aload 4
invokeinterface java.util.List.size:()I
iadd
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.printThreadGroup:(Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/ThreadGroupReference;I)I
iadd
istore 3
end local 9 55: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 52
56: aload 4
invokeinterface java.util.List.size:()I
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 57 1 out Lcom/sun/tools/example/debug/gui/OutputSink;
0 57 2 tg Lcom/sun/jdi/ThreadGroupReference;
0 57 3 iThread I
2 57 4 tlist Ljava/util/List<Lcom/sun/jdi/ThreadReference;>;
3 57 5 maxId I
4 57 6 maxName I
5 18 7 i I
7 16 8 thr Lcom/sun/jdi/ThreadReference;
8 16 9 len I
11 16 10 name Ljava/lang/String;
12 16 11 iDot I
19 57 7 maxNumString Ljava/lang/String;
20 57 8 maxNumDigits I
21 51 9 i I
23 49 10 thr Lcom/sun/jdi/ThreadReference;
24 49 11 buf [C
25 29 12 j I
31 49 12 sbOut Ljava/lang/StringBuffer;
33 49 13 numString Ljava/lang/String;
38 49 14 iBuf I
41 49 15 name Ljava/lang/String;
42 49 16 iDot I
53 55 9 tg0 Lcom/sun/jdi/ThreadGroupReference;
MethodParameters:
Name Flags
out
tg
iThread
private void commandThreadGroups();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.allThreadGroups:()Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 3
start local 3 3: goto 7
4: StackMap locals: com.sun.tools.example.debug.bdi.ThreadGroupIterator int com.sun.tools.example.debug.gui.OutputSink
StackMap stack:
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.nextThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
astore 4
start local 4 5: iinc 2 1
6: aload 3
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ". "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokestatic com.sun.tools.example.debug.bdi.Utils.description:(Lcom/sun/jdi/ObjectReference;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokeinterface com.sun.jdi.ThreadGroupReference.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.hasNext:()Z
ifne 4
8: aload 3
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
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/gui/CommandInterpreter;
1 10 1 it Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
2 10 2 cnt I
3 10 3 out Lcom/sun/tools/example/debug/gui/OutputSink;
5 7 4 tg Lcom/sun/jdi/ThreadGroupReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private void commandThread(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Thread number not specified."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.findThread:(Ljava/lang/String;)Lcom/sun/jdi/ThreadReference;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 2
invokevirtual com.sun.tools.example.debug.gui.ContextManager.setCurrentThread:(Lcom/sun/jdi/ThreadReference;)V
6: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 7 1 t Ljava/util/StringTokenizer;
4 7 2 thread Lcom/sun/jdi/ThreadReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandThreadGroup(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Threadgroup name not specified."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 4: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.findThreadGroup:(Ljava/lang/String;)Lcom/sun/jdi/ThreadGroupReference;
astore 3
start local 3 5: aload 3
ifnonnull 8
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not a valid threadgroup name."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
7: goto 9
8: StackMap locals: java.lang.String com.sun.jdi.ThreadGroupReference
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.setDefaultThreadGroup:(Lcom/sun/jdi/ThreadGroupReference;)V
9: StackMap locals:
StackMap stack:
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/gui/CommandInterpreter;
0 10 1 t Ljava/util/StringTokenizer;
4 10 2 name Ljava/lang/String;
5 10 3 tg Lcom/sun/jdi/ThreadGroupReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandRun(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 1
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.doLoad:(ZLjava/util/StringTokenizer;)Z
ifeq 2
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Running ..."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 3 1 t Ljava/util/StringTokenizer;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandLoad(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.doLoad:(ZLjava/util/StringTokenizer;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 2 1 t Ljava/util/StringTokenizer;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private boolean doLoad(boolean, java.util.StringTokenizer);
descriptor: (ZLjava/util/StringTokenizer;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 15
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getMainClassName:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
3: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getVmArguments:()Ljava/lang/String;
astore 4
start local 4 4: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
iload 1
5: aload 4
6: aload 3
7: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getProgramArguments:()Ljava/lang/String;
8: invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.run:(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
9: iconst_1
ireturn
end local 4 10: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter int java.util.StringTokenizer java.lang.String
StackMap stack: com.sun.tools.example.debug.bdi.VMLaunchFailureException
pop
11: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Attempt to launch main class \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" failed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
12: goto 31
13: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No main class specifed and no current default defined."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
14: goto 31
end local 3 15: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 3
start local 3 16: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 4
start local 4 17: goto 22
18: StackMap locals: java.lang.String java.lang.StringBuffer
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 5
start local 5 19: aload 4
aload 5
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
20: aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 22
21: aload 4
bipush 32
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 5 22: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 18
23: aload 4
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 5
start local 5 24: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getVmArguments:()Ljava/lang/String;
astore 6
start local 6 25: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
iload 1
aload 6
aload 3
aload 5
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.run:(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
26: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 3
invokevirtual com.sun.tools.example.debug.gui.ContextManager.setMainClassName:(Ljava/lang/String;)V
27: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 5
invokevirtual com.sun.tools.example.debug.gui.ContextManager.setProgramArguments:(Ljava/lang/String;)V
28: iconst_1
ireturn
end local 6 29: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter int java.util.StringTokenizer java.lang.String java.lang.StringBuffer java.lang.String
StackMap stack: com.sun.tools.example.debug.bdi.VMLaunchFailureException
pop
30: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Attempt to launch main class \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" failed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
end local 5 end local 4 31: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 32 1 suspended Z
0 32 2 t Ljava/util/StringTokenizer;
2 15 3 clname Ljava/lang/String;
16 32 3 clname Ljava/lang/String;
4 10 4 vmArgs Ljava/lang/String;
17 31 4 sbuf Ljava/lang/StringBuffer;
19 22 5 tok Ljava/lang/String;
24 31 5 args Ljava/lang/String;
25 29 6 vmArgs Ljava/lang/String;
Exception table:
from to target type
3 9 10 Class com.sun.tools.example.debug.bdi.VMLaunchFailureException
24 28 29 Class com.sun.tools.example.debug.bdi.VMLaunchFailureException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
suspended
t
private void commandConnect(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokestatic com.sun.tools.example.debug.gui.LaunchTool.queryAndLaunchVM:(Lcom/sun/tools/example/debug/bdi/ExecutionManager;)V
1: goto 4
StackMap locals:
StackMap stack: com.sun.tools.example.debug.bdi.VMLaunchFailureException
2: pop
3: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Attempt to connect failed."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 5 1 t Ljava/util/StringTokenizer;
Exception table:
from to target type
0 1 2 Class com.sun.tools.example.debug.bdi.VMLaunchFailureException
MethodParameters:
Name Flags
t
private void commandAttach(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 10
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getRemotePort:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
3: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.attach:(Ljava/lang/String;)V
4: goto 16
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer java.lang.String
StackMap stack: com.sun.tools.example.debug.bdi.VMLaunchFailureException
5: pop
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Attempt to attach to port \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" failed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
7: goto 16
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No port specifed and no current default defined."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
9: goto 16
end local 2 10: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 11: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.attach:(Ljava/lang/String;)V
12: goto 15
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer java.lang.String
StackMap stack: com.sun.tools.example.debug.bdi.VMLaunchFailureException
13: pop
14: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Attempt to attach to port \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" failed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 2
invokevirtual com.sun.tools.example.debug.gui.ContextManager.setRemotePort:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 17 1 t Ljava/util/StringTokenizer;
2 10 2 portName Ljava/lang/String;
11 17 2 portName Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class com.sun.tools.example.debug.bdi.VMLaunchFailureException
11 12 13 Class com.sun.tools.example.debug.bdi.VMLaunchFailureException
MethodParameters:
Name Flags
t
private void commandDetach(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.detach:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 2 1 t Ljava/util/StringTokenizer;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandInterrupt(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.interrupt:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 2 1 t Ljava/util/StringTokenizer;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandSuspend(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 10
1: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.currentThreadGroupThreads:()Lcom/sun/tools/example/debug/bdi/ThreadIterator;
astore 2
start local 2 2: goto 4
3: StackMap locals: com.sun.tools.example.debug.bdi.ThreadIterator
StackMap stack:
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.nextThread:()Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.suspend:()V
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.hasNext:()Z
ifne 3
5: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "All (non-system) threads suspended."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
end local 2 6: goto 11
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.findThread:(Ljava/lang/String;)Lcom/sun/jdi/ThreadReference;
astore 2
start local 2 8: aload 2
ifnull 10
9: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.suspendThread:(Lcom/sun/jdi/ThreadReference;)V
end local 2 10: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 7
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 12 1 t Ljava/util/StringTokenizer;
2 6 2 ti Lcom/sun/tools/example/debug/bdi/ThreadIterator;
8 10 2 thread Lcom/sun/jdi/ThreadReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandResume(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 10
1: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.currentThreadGroupThreads:()Lcom/sun/tools/example/debug/bdi/ThreadIterator;
astore 2
start local 2 2: goto 4
3: StackMap locals: com.sun.tools.example.debug.bdi.ThreadIterator
StackMap stack:
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.nextThread:()Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.resume:()V
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.hasNext:()Z
ifne 3
5: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "All threads resumed."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
end local 2 6: goto 11
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.findThread:(Ljava/lang/String;)Lcom/sun/jdi/ThreadReference;
astore 2
start local 2 8: aload 2
ifnull 10
9: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.resumeThread:(Lcom/sun/jdi/ThreadReference;)V
end local 2 10: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 7
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 12 1 t Ljava/util/StringTokenizer;
2 6 2 ti Lcom/sun/tools/example/debug/bdi/ThreadIterator;
8 10 2 thread Lcom/sun/jdi/ThreadReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandCont();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.go:()V
1: goto 4
StackMap locals:
StackMap stack: com.sun.tools.example.debug.bdi.VMNotInterruptedException
2: pop
3: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Target VM is already running."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
Exception table:
from to target type
0 1 2 Class com.sun.tools.example.debug.bdi.VMNotInterruptedException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private void commandStep(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No current thread."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 8
5: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "up"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.stepOut:(Lcom/sun/jdi/ThreadReference;)V
7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.stepIntoLine:(Lcom/sun/jdi/ThreadReference;)V
9: goto 12
StackMap locals:
StackMap stack: com.sun.jdi.AbsentInformationException
10: pop
11: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No linenumber information available -- Try \"stepi\" to step by instructions."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 13 1 t Ljava/util/StringTokenizer;
1 13 2 current Lcom/sun/jdi/ThreadReference;
Exception table:
from to target type
4 9 10 Class com.sun.jdi.AbsentInformationException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandStepi();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No current thread."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.stepIntoInstruction:(Lcom/sun/jdi/ThreadReference;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
1 6 1 current Lcom/sun/jdi/ThreadReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private void commandNext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No current thread."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.stepOverLine:(Lcom/sun/jdi/ThreadReference;)V
5: goto 8
StackMap locals:
StackMap stack: com.sun.jdi.AbsentInformationException
6: pop
7: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No linenumber information available -- Try \"nexti\" to step by instructions."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
1 9 1 current Lcom/sun/jdi/ThreadReference;
Exception table:
from to target type
4 5 6 Class com.sun.jdi.AbsentInformationException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private void commandNexti();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No current thread."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.stepOverInstruction:(Lcom/sun/jdi/ThreadReference;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
1 6 1 current Lcom/sun/jdi/ThreadReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private void commandKill(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 23
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Usage: kill <threadgroup name> or <thread id>"
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 4: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.findThread:(Ljava/lang/String;)Lcom/sun/jdi/ThreadReference;
astore 3
start local 3 5: aload 3
ifnull 9
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 3
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.stopThread:(Lcom/sun/jdi/ThreadReference;)V
7: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Thread "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " killed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
8: return
9: StackMap locals: java.lang.String com.sun.jdi.ThreadReference
StackMap stack:
aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.allThreadGroups:()Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
astore 4
start local 4 10: goto 19
11: StackMap locals: com.sun.tools.example.debug.bdi.ThreadGroupIterator
StackMap stack:
aload 4
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.nextThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
astore 5
start local 5 12: aload 5
invokeinterface com.sun.jdi.ThreadGroupReference.name:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
13: new com.sun.tools.example.debug.bdi.ThreadIterator
dup
aload 5
invokespecial com.sun.tools.example.debug.bdi.ThreadIterator.<init>:(Lcom/sun/jdi/ThreadGroupReference;)V
astore 6
start local 6 14: goto 16
15: StackMap locals: com.sun.jdi.ThreadGroupReference com.sun.tools.example.debug.bdi.ThreadIterator
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 6
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.nextThread:()Lcom/sun/jdi/ThreadReference;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.stopThread:(Lcom/sun/jdi/ThreadReference;)V
16: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.hasNext:()Z
ifne 15
17: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Threadgroup "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokeinterface com.sun.jdi.ThreadGroupReference.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "killed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
18: return
end local 6 end local 5 19: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.hasNext:()Z
ifne 11
20: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc "\" is not a valid threadgroup or id."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
end local 4 end local 3 end local 2 23: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
24: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 25 1 t Ljava/util/StringTokenizer;
4 23 2 idToken Ljava/lang/String;
5 23 3 thread Lcom/sun/jdi/ThreadReference;
10 23 4 itg Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
12 19 5 tg Lcom/sun/jdi/ThreadGroupReference;
14 19 6 it Lcom/sun/tools/example/debug/bdi/ThreadIterator;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
int readCount(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)I
flags: (0x0000)
Code:
stack=1, locals=4, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 7
2: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 2
4: goto 7
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer int java.lang.String
StackMap stack: java.lang.NumberFormatException
5: pop
6: iconst_m1
istore 2
end local 3 7: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 8 1 t Ljava/util/StringTokenizer;
1 8 2 cnt I
3 7 3 idToken Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
t
void commandUp(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No current thread."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.readCount:(Ljava/util/StringTokenizer;)I
istore 3
start local 3 5: iload 3
ifgt 8
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "usage: up [n frames]"
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
7: return
8: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 2
iload 3
ineg
invokevirtual com.sun.tools.example.debug.gui.ContextManager.moveCurrentFrameIndex:(Lcom/sun/jdi/ThreadReference;I)I
istore 4
start local 4 9: iload 4
ifne 12
10: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Already at top of stack."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
11: goto 17
StackMap locals: int
StackMap stack:
12: iload 4
ineg
iload 3
if_icmpge 17
13: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Moved up "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " frames to top of stack."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
end local 4 14: goto 17
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.jdi.ThreadReference int
StackMap stack: com.sun.tools.example.debug.bdi.VMNotInterruptedException
15: pop
16: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Target VM must be in interrupted state."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 18 1 t Ljava/util/StringTokenizer;
1 18 2 current Lcom/sun/jdi/ThreadReference;
5 18 3 nLevels I
9 14 4 delta I
Exception table:
from to target type
8 14 15 Class com.sun.tools.example.debug.bdi.VMNotInterruptedException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandDown(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No current thread."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.readCount:(Ljava/util/StringTokenizer;)I
istore 3
start local 3 5: iload 3
ifgt 8
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "usage: down [n frames]"
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
7: return
8: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 2
iload 3
invokevirtual com.sun.tools.example.debug.gui.ContextManager.moveCurrentFrameIndex:(Lcom/sun/jdi/ThreadReference;I)I
istore 4
start local 4 9: iload 4
ifne 12
10: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Already at bottom of stack."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
11: goto 17
StackMap locals: int
StackMap stack:
12: iload 4
iload 3
if_icmpge 17
13: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Moved down "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " frames to bottom of stack."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
end local 4 14: goto 17
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.jdi.ThreadReference int
StackMap stack: com.sun.tools.example.debug.bdi.VMNotInterruptedException
15: pop
16: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Target VM must be in interrupted state."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 18 1 t Ljava/util/StringTokenizer;
1 18 2 current Lcom/sun/jdi/ThreadReference;
5 18 3 nLevels I
9 14 4 delta I
Exception table:
from to target type
8 14 15 Class com.sun.tools.example.debug.bdi.VMNotInterruptedException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandFrame(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No current thread."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 7
5: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "usage: frame <frame-index>"
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
6: return
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 3
start local 3 8: aload 3
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 9: goto 12
end local 4 StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.jdi.ThreadReference java.lang.String
StackMap stack: java.lang.NumberFormatException
10: pop
11: iconst_0
istore 4
start local 4 12: StackMap locals: int
StackMap stack:
iload 4
ifgt 15
13: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "use positive frame index"
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
14: return
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 2
iload 4
invokevirtual com.sun.tools.example.debug.gui.ContextManager.setCurrentFrameIndex:(Lcom/sun/jdi/ThreadReference;I)I
istore 5
start local 5 16: iload 5
ifne 19
17: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Frame unchanged."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
18: goto 26
StackMap locals: int
StackMap stack:
19: iload 5
ifge 22
20: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Moved up "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
ineg
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " frames."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
21: goto 26
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Moved down "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " frames."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
end local 5 23: goto 26
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.jdi.ThreadReference java.lang.String int
StackMap stack: com.sun.tools.example.debug.bdi.VMNotInterruptedException
24: pop
25: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Target VM must be in interrupted state."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
26: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 27 1 t Ljava/util/StringTokenizer;
1 27 2 current Lcom/sun/jdi/ThreadReference;
8 27 3 idToken Ljava/lang/String;
9 10 4 n I
12 27 4 n I
16 23 5 delta I
Exception table:
from to target type
8 9 10 Class java.lang.NumberFormatException
15 23 24 Class com.sun.tools.example.debug.bdi.VMNotInterruptedException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandWhere(java.util.StringTokenizer, boolean);
descriptor: (Ljava/util/StringTokenizer;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 3
start local 3 1: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 7
2: aload 3
ifnonnull 5
3: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No thread specified."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
4: return
5: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
aload 3
iload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.dumpStack:(Lcom/sun/jdi/ThreadReference;Z)V
6: goto 20
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 4
start local 4 8: aload 4
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
9: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.allThreads:()Lcom/sun/tools/example/debug/bdi/ThreadIterator;
astore 5
start local 5 10: goto 14
11: StackMap locals: java.lang.String com.sun.tools.example.debug.bdi.ThreadIterator
StackMap stack:
aload 5
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.next:()Lcom/sun/jdi/ThreadReference;
astore 6
start local 6 12: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
new java.lang.StringBuilder
dup
aload 6
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
13: aload 0
aload 6
iload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.dumpStack:(Lcom/sun/jdi/ThreadReference;Z)V
end local 6 14: StackMap locals:
StackMap stack:
aload 5
invokevirtual com.sun.tools.example.debug.bdi.ThreadIterator.hasNext:()Z
ifne 11
end local 5 15: goto 20
16: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.findThread:(Ljava/lang/String;)Lcom/sun/jdi/ThreadReference;
astore 5
start local 5 17: aload 5
ifnull 19
18: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 5
invokevirtual com.sun.tools.example.debug.gui.ContextManager.setCurrentThread:(Lcom/sun/jdi/ThreadReference;)V
19: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
aload 5
iload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.dumpStack:(Lcom/sun/jdi/ThreadReference;Z)V
end local 5 end local 4 20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 21 1 t Ljava/util/StringTokenizer;
0 21 2 showPC Z
1 21 3 current Lcom/sun/jdi/ThreadReference;
8 20 4 token Ljava/lang/String;
10 15 5 it Lcom/sun/tools/example/debug/bdi/ThreadIterator;
12 14 6 thread Lcom/sun/jdi/ThreadReference;
17 20 5 thread Lcom/sun/jdi/ThreadReference;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
showPC
private void dumpStack(com.sun.jdi.ThreadReference, boolean);
descriptor: (Lcom/sun/jdi/ThreadReference;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
invokeinterface com.sun.jdi.ThreadReference.frames:()Ljava/util/List;
astore 3
2: goto 5
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.jdi.ThreadReference int java.util.List
StackMap stack: com.sun.jdi.IncompatibleThreadStateException
3: pop
4: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Thread is not suspended."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 6: aload 3
ifnonnull 9
7: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Thread is not running (no stack)."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
8: goto 40
9: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 5
start local 5 10: aload 3
invokeinterface java.util.List.size:()I
istore 6
start local 6 11: iload 4
istore 7
start local 7 12: goto 38
13: StackMap locals: com.sun.tools.example.debug.gui.OutputSink int int
StackMap stack:
aload 3
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.StackFrame
astore 8
start local 8 14: aload 8
invokeinterface com.sun.jdi.StackFrame.location:()Lcom/sun/jdi/Location;
astore 9
start local 9 15: aload 9
invokeinterface com.sun.jdi.Location.method:()Lcom/sun/jdi/Method;
astore 10
start local 10 16: aload 5
new java.lang.StringBuilder
dup
ldc " ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
iconst_1
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
17: aload 5
aload 10
invokeinterface com.sun.jdi.Method.declaringType:()Lcom/sun/jdi/ReferenceType;
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
18: aload 5
bipush 46
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(C)V
19: aload 5
aload 10
invokeinterface com.sun.jdi.Method.name:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
20: aload 5
ldc " ("
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
21: aload 10
invokeinterface com.sun.jdi.Method.isNative:()Z
ifeq 24
22: aload 5
ldc "native method"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
23: goto 31
StackMap locals: com.sun.jdi.StackFrame com.sun.jdi.Location com.sun.jdi.Method
StackMap stack:
24: aload 9
invokeinterface com.sun.jdi.Location.lineNumber:()I
iconst_m1
if_icmpeq 31
25: aload 5
aload 9
invokeinterface com.sun.jdi.Location.sourceName:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
26: goto 29
StackMap locals:
StackMap stack: com.sun.jdi.AbsentInformationException
27: pop
28: aload 5
ldc "<unknown>"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
29: StackMap locals:
StackMap stack:
aload 5
bipush 58
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(C)V
30: aload 5
aload 9
invokeinterface com.sun.jdi.Location.lineNumber:()I
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(I)V
31: StackMap locals:
StackMap stack:
aload 5
bipush 41
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(C)V
32: iload 2
ifeq 36
33: aload 9
invokeinterface com.sun.jdi.Location.codeIndex:()J
lstore 11
start local 11 34: lload 11
ldc -1
lcmp
ifeq 36
35: aload 5
new java.lang.StringBuilder
dup
ldc ", pc = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 11
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
end local 11 36: StackMap locals:
StackMap stack:
aload 5
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:()V
end local 10 end local 9 end local 8 37: iinc 7 1
StackMap locals:
StackMap stack:
38: iload 7
iload 6
if_icmplt 13
end local 7 39: aload 5
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
end local 6 end local 5 40: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 41 1 thread Lcom/sun/jdi/ThreadReference;
0 41 2 showPC Z
1 41 3 stack Ljava/util/List<Lcom/sun/jdi/StackFrame;>;
6 41 4 frameIndex I
10 40 5 out Lcom/sun/tools/example/debug/gui/OutputSink;
11 40 6 nFrames I
12 39 7 i I
14 37 8 frame Lcom/sun/jdi/StackFrame;
15 37 9 loc Lcom/sun/jdi/Location;
16 37 10 meth Lcom/sun/jdi/Method;
34 36 11 pc J
Exception table:
from to target type
1 2 3 Class com.sun.jdi.IncompatibleThreadStateException
25 26 27 Class com.sun.jdi.AbsentInformationException
MethodParameters:
Name Flags
thread
showPC
private void listEventRequests();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.eventRequestSpecs:()Ljava/util/List;
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No breakpoints/watchpoints/exceptions set."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
3: goto 11
4: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 2
start local 2 5: aload 2
ldc "Current breakpoints/watchpoints/exceptions set:"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
6: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.List com.sun.tools.example.debug.gui.OutputSink top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.example.debug.bdi.EventRequestSpec
astore 3
start local 3 8: aload 2
new java.lang.StringBuilder
dup
ldc "\t"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: aload 2
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
end local 2 11: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.List
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
1 12 1 specs Ljava/util/List<Lcom/sun/tools/example/debug/bdi/EventRequestSpec;>;
5 11 2 out Lcom/sun/tools/example/debug/gui/OutputSink;
8 9 3 bp Lcom/sun/tools/example/debug/bdi/EventRequestSpec;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private com.sun.tools.example.debug.bdi.BreakpointSpec parseBreakpointSpec(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: new java.util.StringTokenizer
dup
aload 1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 2
ldc "@:( \t\n\r"
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 2
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 4: goto 7
end local 5 StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String java.util.StringTokenizer com.sun.tools.example.debug.bdi.BreakpointSpec java.lang.String
StackMap stack: java.util.NoSuchElementException
5: pop
6: aconst_null
astore 5
start local 5 7: StackMap locals: java.lang.String
StackMap stack:
aload 5
ifnull 18
aload 5
ldc "@"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 18
8: new java.util.StringTokenizer
dup
aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
9: aload 4
astore 6
start local 6 10: aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 7
start local 7 11: aload 7
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 12: aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 14
13: aconst_null
areturn
14: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 6
15: iload 8
16: invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.createSourceLineBreakpoint:(Ljava/lang/String;I)Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
astore 3
end local 8 end local 7 end local 6 17: goto 47
StackMap locals:
StackMap stack:
18: aload 5
ifnull 27
aload 5
ldc ":"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 27
19: new java.util.StringTokenizer
dup
aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
20: aload 4
astore 6
start local 6 21: aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 7
start local 7 22: aload 7
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 23: aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 25
24: aconst_null
areturn
25: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 6
iload 8
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.createClassLineBreakpoint:(Ljava/lang/String;I)Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
astore 3
end local 8 end local 7 end local 6 26: goto 47
27: StackMap locals:
StackMap stack:
aload 4
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 6
start local 6 28: iload 6
ifle 30
29: iload 6
aload 4
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmplt 31
30: StackMap locals: int
StackMap stack:
aconst_null
areturn
31: StackMap locals:
StackMap stack:
aload 4
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 32: aload 4
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 33: aconst_null
astore 9
start local 9 34: aload 5
ifnull 43
35: aload 5
ldc "("
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 36
aload 5
ldc ")"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 37
36: StackMap locals: java.lang.String java.lang.String java.util.List
StackMap stack:
aconst_null
areturn
37: StackMap locals:
StackMap stack:
aload 5
iconst_1
aload 5
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
38: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 9
39: new java.util.StringTokenizer
dup
aload 5
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
40: goto 42
41: StackMap locals:
StackMap stack:
aload 9
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
42: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 41
43: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 8
44: aload 7
45: aload 9
46: invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.createMethodBreakpoint:(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
astore 3
end local 9 end local 8 end local 7 end local 6 47: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String java.util.StringTokenizer com.sun.tools.example.debug.bdi.BreakpointSpec java.lang.String java.lang.String
StackMap stack:
aload 3
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 48 1 bptSpec Ljava/lang/String;
1 48 2 t Ljava/util/StringTokenizer;
2 48 3 bpSpec Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
3 48 4 token Ljava/lang/String;
4 5 5 rest Ljava/lang/String;
7 48 5 rest Ljava/lang/String;
10 17 6 sourceName Ljava/lang/String;
11 17 7 lineToken Ljava/lang/String;
12 17 8 lineNumber I
21 26 6 classId Ljava/lang/String;
22 26 7 lineToken Ljava/lang/String;
23 26 8 lineNumber I
28 47 6 idot I
32 47 7 methodName Ljava/lang/String;
33 47 8 classId Ljava/lang/String;
34 47 9 argumentList Ljava/util/List<Ljava/lang/String;>;
Exception table:
from to target type
3 4 5 Class java.util.NoSuchElementException
MethodParameters:
Name Flags
bptSpec
private void commandStop(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.listEventRequests:()V
2: goto 15
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 4: aload 2
ldc "at"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
aload 2
ldc "in"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 8
6: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Missing breakpoint specification."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
9: return
10: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.parseBreakpointSpec:(Ljava/lang/String;)Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
astore 3
start local 3 11: aload 3
ifnull 14
12: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 3
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.install:(Lcom/sun/tools/example/debug/bdi/EventRequestSpec;)V
13: goto 15
14: StackMap locals: com.sun.tools.example.debug.bdi.BreakpointSpec
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Ill-formed breakpoint specification."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
end local 3 end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 16 1 t Ljava/util/StringTokenizer;
4 15 2 token Ljava/lang/String;
11 15 3 bpSpec Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandClear(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.listEventRequests:()V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.parseBreakpointSpec:(Ljava/lang/String;)Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
astore 2
start local 2 4: aload 2
ifnull 22
5: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.eventRequestSpecs:()Ljava/util/List;
astore 3
start local 3 6: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 9
7: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No breakpoints set."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
8: goto 23
9: StackMap locals: com.sun.tools.example.debug.bdi.BreakpointSpec java.util.List
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 10: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.tools.example.debug.bdi.BreakpointSpec java.util.List java.util.List top java.util.Iterator
StackMap stack:
11: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.example.debug.bdi.EventRequestSpec
astore 5
start local 5 12: aload 5
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 14
13: aload 4
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 14: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: aload 4
invokeinterface java.util.List.size:()I
iconst_1
if_icmpgt 17
16: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No matching breakpoint set."
invokevirtual com.sun.tools.example.debug.gui.Environment.notice:(Ljava/lang/String;)V
17: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.tools.example.debug.bdi.BreakpointSpec java.util.List java.util.List
StackMap stack:
aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 20
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.tools.example.debug.bdi.BreakpointSpec java.util.List java.util.List top java.util.Iterator
StackMap stack:
18: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.example.debug.bdi.EventRequestSpec
astore 5
start local 5 19: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 5
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.delete:(Lcom/sun/tools/example/debug/bdi/EventRequestSpec;)V
end local 5 20: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
end local 4 end local 3 21: goto 23
22: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.tools.example.debug.bdi.BreakpointSpec
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Ill-formed breakpoint specification."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 24 1 t Ljava/util/StringTokenizer;
4 24 2 bpSpec Lcom/sun/tools/example/debug/bdi/BreakpointSpec;
6 21 3 specs Ljava/util/List<Lcom/sun/tools/example/debug/bdi/EventRequestSpec;>;
10 21 4 toDelete Ljava/util/List<Lcom/sun/tools/example/debug/bdi/EventRequestSpec;>;
12 14 5 spec Lcom/sun/tools/example/debug/bdi/EventRequestSpec;
19 20 5 spec Lcom/sun/tools/example/debug/bdi/EventRequestSpec;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandList(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No thread specified."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 2
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentFrame:(Lcom/sun/jdi/ThreadReference;)Lcom/sun/jdi/StackFrame;
astore 4
start local 4 5: aload 4
ifnonnull 8
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Thread has not yet begun execution."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
7: return
8: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.jdi.ThreadReference top com.sun.jdi.StackFrame
StackMap stack:
aload 4
invokeinterface com.sun.jdi.StackFrame.location:()Lcom/sun/jdi/Location;
astore 3
end local 4 start local 3 9: goto 13
end local 3 StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.jdi.ThreadReference
StackMap stack: com.sun.tools.example.debug.bdi.VMNotInterruptedException
10: pop
11: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Target VM must be in interrupted state."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
12: return
start local 3 13: StackMap locals: com.sun.jdi.Location
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
aload 3
invokevirtual com.sun.tools.example.debug.gui.SourceManager.sourceForLocation:(Lcom/sun/jdi/Location;)Lcom/sun/tools/example/debug/gui/SourceModel;
astore 4
start local 4 14: aload 4
ifnonnull 20
15: aload 3
invokeinterface com.sun.jdi.Location.method:()Lcom/sun/jdi/Method;
invokeinterface com.sun.jdi.Method.isNative:()Z
ifeq 18
16: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Current method is native."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
17: return
18: StackMap locals: com.sun.tools.example.debug.gui.SourceModel
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "No source available for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokestatic com.sun.tools.example.debug.bdi.Utils.locationString:(Lcom/sun/jdi/Location;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
19: return
20: StackMap locals:
StackMap stack:
aload 3
invokeinterface com.sun.jdi.Location.declaringType:()Lcom/sun/jdi/ReferenceType;
astore 5
start local 5 21: aload 3
invokeinterface com.sun.jdi.Location.lineNumber:()I
istore 6
start local 6 22: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 43
23: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 7
start local 7 24: aload 7
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 6
25: goto 43
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer com.sun.jdi.ThreadReference com.sun.jdi.Location com.sun.tools.example.debug.gui.SourceModel com.sun.jdi.ReferenceType int java.lang.String
StackMap stack: java.lang.NumberFormatException
26: pop
27: aload 5
aload 7
invokeinterface com.sun.jdi.ReferenceType.methodsByName:(Ljava/lang/String;)Ljava/util/List;
astore 8
start local 8 28: aload 8
ifnull 29
aload 8
invokeinterface java.util.List.size:()I
ifne 35
29: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
30: ldc " is not a valid line number or "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: ldc "method name for class "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: aload 5
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
34: return
35: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 41
36: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
37: ldc " is an ambiguous method name in"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
38: aload 5
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
39: invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
40: return
41: StackMap locals:
StackMap stack:
aload 8
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.jdi.Method
invokeinterface com.sun.jdi.Method.location:()Lcom/sun/jdi/Location;
astore 3
42: aload 3
invokeinterface com.sun.jdi.Location.lineNumber:()I
istore 6
end local 8 end local 7 43: StackMap locals:
StackMap stack:
iload 6
iconst_4
if_icmple 44
iload 6
iconst_4
isub
goto 45
StackMap locals:
StackMap stack:
44: iconst_1
StackMap locals:
StackMap stack: int
45: istore 7
start local 7 46: iload 7
bipush 9
iadd
istore 8
start local 8 47: aload 4
iload 6
invokevirtual com.sun.tools.example.debug.gui.SourceModel.sourceLine:(I)Ljava/lang/String;
astore 9
start local 9 48: aload 9
ifnonnull 55
49: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
50: iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
51: ldc " is an invalid line number for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
52: aload 5
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
53: invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
54: goto 71
55: StackMap locals: int int java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 10
start local 10 56: iload 7
istore 11
start local 11 57: goto 69
58: StackMap locals: com.sun.tools.example.debug.gui.OutputSink int
StackMap stack:
aload 4
iload 11
invokevirtual com.sun.tools.example.debug.gui.SourceModel.sourceLine:(I)Ljava/lang/String;
astore 9
59: aload 9
ifnonnull 61
60: goto 70
61: StackMap locals:
StackMap stack:
aload 10
iload 11
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(I)V
62: aload 10
ldc "\t"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
63: iload 11
iload 6
if_icmpne 66
64: aload 10
ldc "=> "
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
65: goto 67
66: StackMap locals:
StackMap stack:
aload 10
ldc " "
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
67: StackMap locals:
StackMap stack:
aload 10
aload 9
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
68: iinc 11 1
StackMap locals:
StackMap stack:
69: iload 11
iload 8
if_icmple 58
end local 11 70: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
end local 10 71: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 72 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 72 1 t Ljava/util/StringTokenizer;
1 72 2 current Lcom/sun/jdi/ThreadReference;
9 10 3 loc Lcom/sun/jdi/Location;
13 72 3 loc Lcom/sun/jdi/Location;
5 9 4 frame Lcom/sun/jdi/StackFrame;
14 72 4 source Lcom/sun/tools/example/debug/gui/SourceModel;
21 72 5 refType Lcom/sun/jdi/ReferenceType;
22 72 6 lineno I
24 43 7 id Ljava/lang/String;
28 43 8 meths Ljava/util/List<Lcom/sun/jdi/Method;>;
46 72 7 startLine I
47 72 8 endLine I
48 72 9 sourceLine Ljava/lang/String;
56 71 10 out Lcom/sun/tools/example/debug/gui/OutputSink;
57 70 11 i I
Exception table:
from to target type
4 7 10 Class com.sun.tools.example.debug.bdi.VMNotInterruptedException
8 9 10 Class com.sun.tools.example.debug.bdi.VMNotInterruptedException
24 25 26 Class java.lang.NumberFormatException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandUse(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
invokevirtual com.sun.tools.example.debug.gui.SourceManager.getSourcePath:()Lcom/sun/tools/example/debug/gui/SearchPath;
invokevirtual com.sun.tools.example.debug.gui.SearchPath.asString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
new com.sun.tools.example.debug.gui.SearchPath
dup
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokespecial com.sun.tools.example.debug.gui.SearchPath.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.tools.example.debug.gui.SourceManager.setSourcePath:(Lcom/sun/tools/example/debug/gui/SearchPath;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 5 1 t Ljava/util/StringTokenizer;
MethodParameters:
Name Flags
t
private void commandSourcepath(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
invokevirtual com.sun.tools.example.debug.gui.SourceManager.getSourcePath:()Lcom/sun/tools/example/debug/gui/SearchPath;
invokevirtual com.sun.tools.example.debug.gui.SearchPath.asString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
new com.sun.tools.example.debug.gui.SearchPath
dup
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokespecial com.sun.tools.example.debug.gui.SearchPath.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.tools.example.debug.gui.SourceManager.setSourcePath:(Lcom/sun/tools/example/debug/gui/SearchPath;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 5 1 t Ljava/util/StringTokenizer;
MethodParameters:
Name Flags
t
private void commandClasspath(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.classManager:Lcom/sun/tools/example/debug/gui/ClassManager;
invokevirtual com.sun.tools.example.debug.gui.ClassManager.getClassPath:()Lcom/sun/tools/example/debug/gui/SearchPath;
invokevirtual com.sun.tools.example.debug.gui.SearchPath.asString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.classManager:Lcom/sun/tools/example/debug/gui/ClassManager;
new com.sun.tools.example.debug.gui.SearchPath
dup
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokespecial com.sun.tools.example.debug.gui.SearchPath.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.tools.example.debug.gui.ClassManager.setClassPath:(Lcom/sun/tools/example/debug/gui/SearchPath;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 5 1 t Ljava/util/StringTokenizer;
MethodParameters:
Name Flags
t
private void commandView(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Argument required"
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
2: goto 10
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 4: aload 2
ldc ".java"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 6
5: aload 2
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.indexOf:(I)I
iflt 8
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
aload 2
invokevirtual com.sun.tools.example.debug.gui.Environment.viewSource:(Ljava/lang/String;)V
7: goto 10
8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
bipush 46
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".java"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 9: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
aload 3
invokevirtual com.sun.tools.example.debug.gui.Environment.viewSource:(Ljava/lang/String;)V
end local 3 end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 11 1 t Ljava/util/StringTokenizer;
4 10 2 name Ljava/lang/String;
9 10 3 fileName Ljava/lang/String;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandLocals();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No default thread specified: use the \"thread\" command first."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
3: return
4: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 1
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentFrame:(Lcom/sun/jdi/ThreadReference;)Lcom/sun/jdi/StackFrame;
astore 2
start local 2 5: aload 2
ifnonnull 11
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Thread has not yet created any stack frames."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
7: return
end local 2 8: StackMap locals:
StackMap stack: com.sun.tools.example.debug.bdi.VMNotInterruptedException
pop
9: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Target VM must be in interrupted state."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
10: return
start local 2 11: StackMap locals: com.sun.jdi.StackFrame
StackMap stack:
aload 2
invokeinterface com.sun.jdi.StackFrame.visibleVariables:()Ljava/util/List;
astore 3
start local 3 12: aload 3
ifnull 13
aload 3
invokeinterface java.util.List.size:()I
ifne 18
13: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No local variables"
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
14: return
end local 3 15: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.jdi.ThreadReference com.sun.jdi.StackFrame
StackMap stack: com.sun.jdi.AbsentInformationException
pop
16: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Local variable information not available. Compile with -g to generate variable information"
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
17: return
start local 3 18: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 4
start local 4 19: aload 4
ldc "Method arguments:"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
20: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 24
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.jdi.ThreadReference com.sun.jdi.StackFrame java.util.List com.sun.tools.example.debug.gui.OutputSink top java.util.Iterator
StackMap stack:
21: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.LocalVariable
astore 5
start local 5 22: aload 5
invokeinterface com.sun.jdi.LocalVariable.isArgument:()Z
ifeq 24
23: aload 0
aload 4
aload 5
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.printVar:(Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/LocalVariable;Lcom/sun/jdi/StackFrame;)V
end local 5 24: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
25: aload 4
ldc "Local variables:"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
26: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 30
StackMap locals:
StackMap stack:
27: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.LocalVariable
astore 5
start local 5 28: aload 5
invokeinterface com.sun.jdi.LocalVariable.isArgument:()Z
ifne 30
29: aload 0
aload 4
aload 5
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.printVar:(Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/LocalVariable;Lcom/sun/jdi/StackFrame;)V
end local 5 30: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
31: aload 4
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
32: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
1 33 1 current Lcom/sun/jdi/ThreadReference;
5 8 2 frame Lcom/sun/jdi/StackFrame;
11 33 2 frame Lcom/sun/jdi/StackFrame;
12 15 3 vars Ljava/util/List<Lcom/sun/jdi/LocalVariable;>;
18 33 3 vars Ljava/util/List<Lcom/sun/jdi/LocalVariable;>;
19 33 4 out Lcom/sun/tools/example/debug/gui/OutputSink;
22 24 5 var Lcom/sun/jdi/LocalVariable;
28 30 5 var Lcom/sun/jdi/LocalVariable;
Exception table:
from to target type
4 7 8 Class com.sun.tools.example.debug.bdi.VMNotInterruptedException
11 14 15 Class com.sun.jdi.AbsentInformationException
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
private void commandMonitor(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Argument required"
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getMonitorListModel:()Lcom/sun/tools/example/debug/gui/MonitorListModel;
aload 1
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.MonitorListModel.add:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 5 1 t Ljava/util/StringTokenizer;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void commandUnmonitor(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Argument required"
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getMonitorListModel:()Lcom/sun/tools/example/debug/gui/MonitorListModel;
aload 1
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.MonitorListModel.remove:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 5 1 t Ljava/util/StringTokenizer;
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
private void printVar(com.sun.tools.example.debug.gui.OutputSink, com.sun.jdi.LocalVariable, com.sun.jdi.StackFrame);
descriptor: (Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/LocalVariable;Lcom/sun/jdi/StackFrame;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface com.sun.jdi.LocalVariable.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
1: aload 2
aload 3
invokeinterface com.sun.jdi.LocalVariable.isVisible:(Lcom/sun/jdi/StackFrame;)Z
ifeq 5
2: aload 3
aload 2
invokeinterface com.sun.jdi.StackFrame.getValue:(Lcom/sun/jdi/LocalVariable;)Lcom/sun/jdi/Value;
astore 4
start local 4 3: aload 1
new java.lang.StringBuilder
dup
ldc " = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokeinterface com.sun.jdi.Value.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
end local 4 4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
ldc " is not in scope"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 7 1 out Lcom/sun/tools/example/debug/gui/OutputSink;
0 7 2 var Lcom/sun/jdi/LocalVariable;
0 7 3 frame Lcom/sun/jdi/StackFrame;
3 4 4 val Lcom/sun/jdi/Value;
MethodParameters:
Name Flags
out
var
frame
private void commandPrint(java.util.StringTokenizer, boolean);
descriptor: (Ljava/util/StringTokenizer;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No expression specified."
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentThread:()Lcom/sun/jdi/ThreadReference;
astore 3
start local 3 4: aload 3
ifnonnull 7
5: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "No default thread specified: use the \"thread\" command first."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
6: return
7: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 3
invokevirtual com.sun.tools.example.debug.gui.ContextManager.getCurrentFrame:(Lcom/sun/jdi/ThreadReference;)Lcom/sun/jdi/StackFrame;
astore 4
start local 4 8: aload 4
ifnonnull 33
9: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Thread has not yet created any stack frames."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
10: return
end local 4 11: StackMap locals:
StackMap stack: com.sun.tools.example.debug.bdi.VMNotInterruptedException
pop
12: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Target VM must be in interrupted state."
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
13: return
start local 4 14: StackMap locals: com.sun.jdi.StackFrame
StackMap stack:
aload 1
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 15: aconst_null
astore 6
start local 6 16: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
aload 4
aload 5
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.evaluate:(Lcom/sun/jdi/StackFrame;Ljava/lang/String;)Lcom/sun/jdi/Value;
astore 6
17: goto 20
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.util.StringTokenizer int com.sun.jdi.ThreadReference com.sun.jdi.StackFrame java.lang.String com.sun.jdi.Value
StackMap stack: java.lang.Exception
18: astore 7
start local 7 19: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
new java.lang.StringBuilder
dup
ldc "Exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.Environment.error:(Ljava/lang/String;)V
end local 7 20: StackMap locals:
StackMap stack:
aload 6
ifnonnull 22
21: return
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
astore 7
start local 7 23: iload 2
ifeq 31
aload 6
instanceof com.sun.jdi.ObjectReference
ifeq 31
24: aload 6
instanceof com.sun.jdi.StringReference
ifne 31
25: aload 6
checkcast com.sun.jdi.ObjectReference
astore 8
start local 8 26: aload 8
invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
astore 9
start local 9 27: aload 7
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokeinterface com.sun.jdi.Value.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
28: aload 0
aload 7
aload 8
aload 9
aload 9
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.dump:(Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/ObjectReference;Lcom/sun/jdi/ReferenceType;Lcom/sun/jdi/ReferenceType;)V
29: aload 7
ldc "}"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
end local 9 end local 8 30: goto 32
31: StackMap locals: com.sun.tools.example.debug.gui.OutputSink
StackMap stack:
aload 7
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokeinterface com.sun.jdi.Value.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
32: StackMap locals:
StackMap stack:
aload 7
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
end local 7 end local 6 end local 5 33: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 14
34: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 35 1 t Ljava/util/StringTokenizer;
0 35 2 dumpObject Z
4 35 3 current Lcom/sun/jdi/ThreadReference;
8 11 4 frame Lcom/sun/jdi/StackFrame;
14 35 4 frame Lcom/sun/jdi/StackFrame;
15 33 5 expr Ljava/lang/String;
16 33 6 val Lcom/sun/jdi/Value;
19 20 7 e Ljava/lang/Exception;
23 33 7 out Lcom/sun/tools/example/debug/gui/OutputSink;
26 30 8 obj Lcom/sun/jdi/ObjectReference;
27 30 9 refType Lcom/sun/jdi/ReferenceType;
Exception table:
from to target type
7 10 11 Class com.sun.tools.example.debug.bdi.VMNotInterruptedException
16 17 18 Class java.lang.Exception
Exceptions:
throws com.sun.tools.example.debug.bdi.NoSessionException
MethodParameters:
Name Flags
t
dumpObject
private void dump(com.sun.tools.example.debug.gui.OutputSink, com.sun.jdi.ObjectReference, com.sun.jdi.ReferenceType, com.sun.jdi.ReferenceType);
descriptor: (Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/ObjectReference;Lcom/sun/jdi/ReferenceType;Lcom/sun/jdi/ReferenceType;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokeinterface com.sun.jdi.ReferenceType.fields:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ObjectReference com.sun.jdi.ReferenceType com.sun.jdi.ReferenceType top java.util.Iterator
StackMap stack:
1: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.Field
astore 5
start local 5 2: aload 1
ldc " "
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
3: aload 3
aload 4
invokeinterface com.sun.jdi.ReferenceType.equals:(Ljava/lang/Object;)Z
ifne 5
4: aload 1
new java.lang.StringBuilder
dup
aload 3
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
5: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ObjectReference com.sun.jdi.ReferenceType com.sun.jdi.ReferenceType com.sun.jdi.Field java.util.Iterator
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
aload 5
invokeinterface com.sun.jdi.Field.name:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.print:(Ljava/lang/String;)V
6: aload 2
aload 5
invokeinterface com.sun.jdi.ObjectReference.getValue:(Lcom/sun/jdi/Field;)Lcom/sun/jdi/Value;
astore 7
start local 7 7: aload 1
aload 7
ifnonnull 8
ldc "null"
goto 9
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ObjectReference com.sun.jdi.ReferenceType com.sun.jdi.ReferenceType com.sun.jdi.Field java.util.Iterator java.lang.Object
StackMap stack: com.sun.tools.example.debug.gui.OutputSink
8: aload 7
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ObjectReference com.sun.jdi.ReferenceType com.sun.jdi.ReferenceType com.sun.jdi.Field java.util.Iterator java.lang.Object
StackMap stack: com.sun.tools.example.debug.gui.OutputSink java.lang.String
9: invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
end local 7 end local 5 10: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ObjectReference com.sun.jdi.ReferenceType com.sun.jdi.ReferenceType top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
11: aload 3
instanceof com.sun.jdi.ClassType
ifeq 16
12: aload 3
checkcast com.sun.jdi.ClassType
invokeinterface com.sun.jdi.ClassType.superclass:()Lcom/sun/jdi/ClassType;
astore 5
start local 5 13: aload 5
ifnull 21
14: aload 0
aload 1
aload 2
aload 5
aload 4
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.dump:(Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/ObjectReference;Lcom/sun/jdi/ReferenceType;Lcom/sun/jdi/ReferenceType;)V
end local 5 15: goto 21
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ObjectReference com.sun.jdi.ReferenceType com.sun.jdi.ReferenceType
StackMap stack:
16: aload 3
instanceof com.sun.jdi.InterfaceType
ifeq 21
17: aload 3
checkcast com.sun.jdi.InterfaceType
invokeinterface com.sun.jdi.InterfaceType.superinterfaces:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 20
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ObjectReference com.sun.jdi.ReferenceType com.sun.jdi.ReferenceType top java.util.Iterator
StackMap stack:
18: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.InterfaceType
astore 5
start local 5 19: aload 0
aload 1
aload 2
aload 5
aload 4
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.dump:(Lcom/sun/tools/example/debug/gui/OutputSink;Lcom/sun/jdi/ObjectReference;Lcom/sun/jdi/ReferenceType;Lcom/sun/jdi/ReferenceType;)V
end local 5 20: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
21: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter com.sun.tools.example.debug.gui.OutputSink com.sun.jdi.ObjectReference com.sun.jdi.ReferenceType com.sun.jdi.ReferenceType
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 22 1 out Lcom/sun/tools/example/debug/gui/OutputSink;
0 22 2 obj Lcom/sun/jdi/ObjectReference;
0 22 3 refType Lcom/sun/jdi/ReferenceType;
0 22 4 refTypeBase Lcom/sun/jdi/ReferenceType;
2 10 5 field Lcom/sun/jdi/Field;
7 10 7 o Ljava/lang/Object;
13 15 5 sup Lcom/sun/jdi/ClassType;
19 20 5 sup Lcom/sun/jdi/InterfaceType;
MethodParameters:
Name Flags
out
obj
refType
refTypeBase
private void help();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "** command list **"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "threads [threadgroup] -- list threads"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "thread <thread id> -- set default thread"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
3: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "suspend [thread id(s)] -- suspend threads (default: all)"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
4: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "resume [thread id(s)] -- resume threads (default: all)"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
5: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "where [thread id] | all -- dump a thread's stack"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
6: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "wherei [thread id] | all -- dump a thread's stack, with pc info"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
7: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "threadgroups -- list threadgroups"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
8: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "threadgroup <name> -- set current threadgroup\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
9: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "dump <expression> -- print all object information\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
10: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "locals -- print all local variables in current stack frame\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
11: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "classes -- list currently known classes"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
12: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "methods <class id> -- list a class's methods\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
13: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "stop [in] <class id>.<method>[(argument_type,...)] -- set a breakpoint in a method"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
14: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "stop [at] <class id>:<line> -- set a breakpoint at a line"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
15: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "up [n frames] -- move up a thread's stack"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
16: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "down [n frames] -- move down a thread's stack"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
17: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "frame <frame-id> -- to a frame"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
18: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "clear <class id>.<method>[(argument_type,...)] -- clear a breakpoint in a method"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
19: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "clear <class id>:<line> -- clear a breakpoint at a line"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
20: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "clear -- list breakpoints"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
21: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "step -- execute current line"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
22: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "step up -- execute until the current method returns to its caller"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
23: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "stepi -- execute current instruction"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
24: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "next -- step one line (step OVER calls)"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
25: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "nexti -- step one instruction (step OVER calls)"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
26: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "cont -- continue execution from breakpoint\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
27: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "view classname|filename -- display source file"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
28: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "list [line number|method] -- print source code context at line or method"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
29: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "use <source file path> -- display or change the source path\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
30: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "sourcepath <source file path> -- display or change the source path\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
31: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "classpath <class file path> -- display or change the class path\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
32: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "monitor <expression> -- evaluate an expression each time the program stops\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
33: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "unmonitor <monitor#> -- delete a monitor\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
34: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "read <filename> -- read and execute a command file\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
35: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "run <class> [args] -- start execution of a Java class"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
36: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "run -- re-execute last class run"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
37: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "load <class> [args] -- start execution of a Java class, initially suspended"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
38: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "load -- re-execute last class run, initially suspended"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
39: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "attach <portname> -- debug existing process\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
40: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "detach -- detach from debuggee process\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
41: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "kill <thread(group)> -- kill a thread or threadgroup\n"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
42: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "!! -- repeat last command"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
43: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "help (or ?) -- list commands"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
44: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "exit (or quit) -- exit debugger"
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
45: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
public void executeCommand(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.getOutputSink:()Lcom/sun/tools/example/debug/gui/OutputSink;
putfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
1: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.echo:Z
ifeq 3
2: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
new java.lang.StringBuilder
dup
ldc ">>> "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 8
5: aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 3
start local 3 6: aload 0
aload 3
putfield com.sun.tools.example.debug.gui.CommandInterpreter.lastCommand:Ljava/lang/String;
7: goto 9
end local 3 8: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.lastCommand:Ljava/lang/String;
astore 3
start local 3 9: StackMap locals: java.lang.String
StackMap stack:
aload 3
ldc "print"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
aload 2
iconst_0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandPrint:(Ljava/util/StringTokenizer;Z)V
11: goto 151
StackMap locals:
StackMap stack:
12: aload 3
ldc "eval"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
aload 2
iconst_0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandPrint:(Ljava/util/StringTokenizer;Z)V
14: goto 151
StackMap locals:
StackMap stack:
15: aload 3
ldc "dump"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 0
aload 2
iconst_1
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandPrint:(Ljava/util/StringTokenizer;Z)V
17: goto 151
StackMap locals:
StackMap stack:
18: aload 3
ldc "locals"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
19: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandLocals:()V
20: goto 151
StackMap locals:
StackMap stack:
21: aload 3
ldc "classes"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
22: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandClasses:()V
23: goto 151
StackMap locals:
StackMap stack:
24: aload 3
ldc "methods"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
25: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandMethods:(Ljava/util/StringTokenizer;)V
26: goto 151
StackMap locals:
StackMap stack:
27: aload 3
ldc "threads"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
28: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandThreads:(Ljava/util/StringTokenizer;)V
29: goto 151
StackMap locals:
StackMap stack:
30: aload 3
ldc "thread"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
31: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandThread:(Ljava/util/StringTokenizer;)V
32: goto 151
StackMap locals:
StackMap stack:
33: aload 3
ldc "suspend"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
34: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandSuspend:(Ljava/util/StringTokenizer;)V
35: goto 151
StackMap locals:
StackMap stack:
36: aload 3
ldc "resume"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
37: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandResume:(Ljava/util/StringTokenizer;)V
38: goto 151
StackMap locals:
StackMap stack:
39: aload 3
ldc "cont"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
40: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandCont:()V
41: goto 151
StackMap locals:
StackMap stack:
42: aload 3
ldc "threadgroups"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 45
43: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandThreadGroups:()V
44: goto 151
StackMap locals:
StackMap stack:
45: aload 3
ldc "threadgroup"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 48
46: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandThreadGroup:(Ljava/util/StringTokenizer;)V
47: goto 151
StackMap locals:
StackMap stack:
48: aload 3
ldc "run"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 51
49: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandRun:(Ljava/util/StringTokenizer;)V
50: goto 151
StackMap locals:
StackMap stack:
51: aload 3
ldc "load"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 54
52: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandLoad:(Ljava/util/StringTokenizer;)V
53: goto 151
StackMap locals:
StackMap stack:
54: aload 3
ldc "connect"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 57
55: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandConnect:(Ljava/util/StringTokenizer;)V
56: goto 151
StackMap locals:
StackMap stack:
57: aload 3
ldc "attach"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 60
58: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandAttach:(Ljava/util/StringTokenizer;)V
59: goto 151
StackMap locals:
StackMap stack:
60: aload 3
ldc "detach"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 63
61: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandDetach:(Ljava/util/StringTokenizer;)V
62: goto 151
StackMap locals:
StackMap stack:
63: aload 3
ldc "interrupt"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 66
64: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandInterrupt:(Ljava/util/StringTokenizer;)V
65: goto 151
StackMap locals:
StackMap stack:
66: aload 3
ldc "step"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 69
67: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandStep:(Ljava/util/StringTokenizer;)V
68: goto 151
StackMap locals:
StackMap stack:
69: aload 3
ldc "stepi"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 72
70: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandStepi:()V
71: goto 151
StackMap locals:
StackMap stack:
72: aload 3
ldc "next"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 75
73: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandNext:()V
74: goto 151
StackMap locals:
StackMap stack:
75: aload 3
ldc "nexti"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 78
76: aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandNexti:()V
77: goto 151
StackMap locals:
StackMap stack:
78: aload 3
ldc "kill"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 81
79: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandKill:(Ljava/util/StringTokenizer;)V
80: goto 151
StackMap locals:
StackMap stack:
81: aload 3
ldc "where"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 84
82: aload 0
aload 2
iconst_0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandWhere:(Ljava/util/StringTokenizer;Z)V
83: goto 151
StackMap locals:
StackMap stack:
84: aload 3
ldc "wherei"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 87
85: aload 0
aload 2
iconst_1
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandWhere:(Ljava/util/StringTokenizer;Z)V
86: goto 151
StackMap locals:
StackMap stack:
87: aload 3
ldc "up"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 90
88: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandUp:(Ljava/util/StringTokenizer;)V
89: goto 151
StackMap locals:
StackMap stack:
90: aload 3
ldc "down"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 93
91: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandDown:(Ljava/util/StringTokenizer;)V
92: goto 151
StackMap locals:
StackMap stack:
93: aload 3
ldc "frame"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 96
94: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandFrame:(Ljava/util/StringTokenizer;)V
95: goto 151
StackMap locals:
StackMap stack:
96: aload 3
ldc "stop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 99
97: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandStop:(Ljava/util/StringTokenizer;)V
98: goto 151
StackMap locals:
StackMap stack:
99: aload 3
ldc "clear"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 102
100: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandClear:(Ljava/util/StringTokenizer;)V
101: goto 151
StackMap locals:
StackMap stack:
102: aload 3
ldc "list"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
103: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandList:(Ljava/util/StringTokenizer;)V
104: goto 151
StackMap locals:
StackMap stack:
105: aload 3
ldc "use"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 108
106: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandUse:(Ljava/util/StringTokenizer;)V
107: goto 151
StackMap locals:
StackMap stack:
108: aload 3
ldc "sourcepath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 111
109: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandSourcepath:(Ljava/util/StringTokenizer;)V
110: goto 151
StackMap locals:
StackMap stack:
111: aload 3
ldc "classpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 114
112: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandClasspath:(Ljava/util/StringTokenizer;)V
113: goto 151
StackMap locals:
StackMap stack:
114: aload 3
ldc "monitor"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 117
115: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandMonitor:(Ljava/util/StringTokenizer;)V
116: goto 151
StackMap locals:
StackMap stack:
117: aload 3
ldc "unmonitor"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 120
118: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandUnmonitor:(Ljava/util/StringTokenizer;)V
119: goto 151
StackMap locals:
StackMap stack:
120: aload 3
ldc "view"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 123
121: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.commandView:(Ljava/util/StringTokenizer;)V
122: goto 151
StackMap locals:
StackMap stack:
123: aload 3
ldc "help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 124
aload 3
ldc "?"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 126
124: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.help:()V
125: goto 151
StackMap locals:
StackMap stack:
126: aload 3
ldc "quit"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 127
aload 3
ldc "exit"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 132
127: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.detach:()V
128: goto 130
StackMap locals:
StackMap stack: com.sun.tools.example.debug.bdi.NoSessionException
129: pop
130: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.env:Lcom/sun/tools/example/debug/gui/Environment;
invokevirtual com.sun.tools.example.debug.gui.Environment.terminate:()V
131: goto 151
132: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 140
133: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 134: aload 2
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 135: goto 137
136: StackMap locals: int java.lang.String
StackMap stack:
aload 0
aload 5
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.executeCommand:(Ljava/lang/String;)V
137: StackMap locals:
StackMap stack:
iload 4
iinc 4 -1
ifgt 136
138: return
end local 5 end local 4 139: StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String java.util.StringTokenizer java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
140: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "huh? Try help..."
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
141: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.flush:()V
end local 3 142: goto 151
StackMap locals: com.sun.tools.example.debug.gui.CommandInterpreter java.lang.String java.util.StringTokenizer
StackMap stack: com.sun.tools.example.debug.bdi.NoSessionException
143: pop
144: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
ldc "There is no currently attached VM session."
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
145: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.flush:()V
goto 151
146: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 147: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
new java.lang.StringBuilder
dup
ldc "Internal exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.println:(Ljava/lang/String;)V
148: aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.flush:()V
149: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "JDB internal exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
150: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
end local 3 151: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.CommandInterpreter.out:Lcom/sun/tools/example/debug/gui/OutputSink;
invokevirtual com.sun.tools.example.debug.gui.OutputSink.show:()V
152: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 153 0 this Lcom/sun/tools/example/debug/gui/CommandInterpreter;
0 153 1 command Ljava/lang/String;
4 153 2 t Ljava/util/StringTokenizer;
6 8 3 cmd Ljava/lang/String;
9 142 3 cmd Ljava/lang/String;
134 139 4 repeat I
135 139 5 subcom Ljava/lang/String;
147 151 3 e Ljava/lang/Exception;
Exception table:
from to target type
127 128 129 Class com.sun.tools.example.debug.bdi.NoSessionException
133 138 139 Class java.lang.NumberFormatException
4 138 143 Class com.sun.tools.example.debug.bdi.NoSessionException
139 142 143 Class com.sun.tools.example.debug.bdi.NoSessionException
4 138 146 Class java.lang.Exception
139 142 146 Class java.lang.Exception
MethodParameters:
Name Flags
command
}
SourceFile: "CommandInterpreter.java"