public class com.sun.tools.example.trace.EventThread extends java.lang.Thread
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.tools.example.trace.EventThread
  super_class: java.lang.Thread
{
  private final com.sun.jdi.VirtualMachine vm;
    descriptor: Lcom/sun/jdi/VirtualMachine;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String[] excludes;
    descriptor: [Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.PrintWriter writer;
    descriptor: Ljava/io/PrintWriter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static java.lang.String nextBaseIndent;
    descriptor: Ljava/lang/String;
    flags: (0x0008) ACC_STATIC

  private boolean connected;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean vmDied;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.util.Map traceMap;
    descriptor: Ljava/util/Map;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 46
            ldc ""
            putstatic com.sun.tools.example.trace.EventThread.nextBaseIndent:Ljava/lang/String;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(com.sun.jdi.VirtualMachine, java.lang.String[], java.io.PrintWriter);
    descriptor: (Lcom/sun/jdi/VirtualMachine;[Ljava/lang/String;Ljava/io/PrintWriter;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.VirtualMachine vm
        start local 2 // java.lang.String[] excludes
        start local 3 // java.io.PrintWriter writer
         0: .line 55
            aload 0 /* this */
            ldc "event-handler"
            invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
         1: .line 48
            aload 0 /* this */
            iconst_1
            putfield com.sun.tools.example.trace.EventThread.connected:Z
         2: .line 49
            aload 0 /* this */
            iconst_1
            putfield com.sun.tools.example.trace.EventThread.vmDied:Z
         3: .line 52
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield com.sun.tools.example.trace.EventThread.traceMap:Ljava/util/Map;
         4: .line 56
            aload 0 /* this */
            aload 1 /* vm */
            putfield com.sun.tools.example.trace.EventThread.vm:Lcom/sun/jdi/VirtualMachine;
         5: .line 57
            aload 0 /* this */
            aload 2 /* excludes */
            putfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
         6: .line 58
            aload 0 /* this */
            aload 3 /* writer */
            putfield com.sun.tools.example.trace.EventThread.writer:Ljava/io/PrintWriter;
         7: .line 59
            return
        end local 3 // java.io.PrintWriter writer
        end local 2 // java.lang.String[] excludes
        end local 1 // com.sun.jdi.VirtualMachine vm
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0      this  Lcom/sun/tools/example/trace/EventThread;
            0    8     1        vm  Lcom/sun/jdi/VirtualMachine;
            0    8     2  excludes  [Ljava/lang/String;
            0    8     3    writer  Ljava/io/PrintWriter;
    MethodParameters:
          Name  Flags
      vm        
      excludes  
      writer    

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // com.sun.tools.example.trace.EventThread this
         0: .line 67
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.vm:Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.eventQueue:()Lcom/sun/jdi/event/EventQueue;
            astore 1 /* queue */
        start local 1 // com.sun.jdi.event.EventQueue queue
         1: .line 68
            goto 13
         2: .line 70
      StackMap locals: com.sun.jdi.event.EventQueue
      StackMap stack:
            aload 1 /* queue */
            invokeinterface com.sun.jdi.event.EventQueue.remove:()Lcom/sun/jdi/event/EventSet;
            astore 2 /* eventSet */
        start local 2 // com.sun.jdi.event.EventSet eventSet
         3: .line 71
            aload 2 /* eventSet */
            invokeinterface com.sun.jdi.event.EventSet.eventIterator:()Lcom/sun/jdi/event/EventIterator;
            astore 3 /* it */
        start local 3 // com.sun.jdi.event.EventIterator it
         4: .line 72
            goto 6
         5: .line 73
      StackMap locals: com.sun.jdi.event.EventSet com.sun.jdi.event.EventIterator
      StackMap stack:
            aload 0 /* this */
            aload 3 /* it */
            invokeinterface com.sun.jdi.event.EventIterator.nextEvent:()Lcom/sun/jdi/event/Event;
            invokevirtual com.sun.tools.example.trace.EventThread.handleEvent:(Lcom/sun/jdi/event/Event;)V
         6: .line 72
      StackMap locals:
      StackMap stack:
            aload 3 /* it */
            invokeinterface com.sun.jdi.event.EventIterator.hasNext:()Z
            ifne 5
         7: .line 75
            aload 2 /* eventSet */
            invokeinterface com.sun.jdi.event.EventSet.resume:()V
        end local 3 // com.sun.jdi.event.EventIterator it
        end local 2 // com.sun.jdi.event.EventSet eventSet
         8: .line 76
            goto 13
      StackMap locals: com.sun.tools.example.trace.EventThread com.sun.jdi.event.EventQueue
      StackMap stack: java.lang.InterruptedException
         9: pop
            goto 13
        10: .line 78
      StackMap locals:
      StackMap stack: com.sun.jdi.VMDisconnectedException
            pop
        11: .line 79
            aload 0 /* this */
            invokevirtual com.sun.tools.example.trace.EventThread.handleDisconnectedException:()V
        12: .line 80
            goto 14
        13: .line 68
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.connected:Z
            ifne 2
        14: .line 83
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.sun.jdi.event.EventQueue queue
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   15     0      this  Lcom/sun/tools/example/trace/EventThread;
            1   15     1     queue  Lcom/sun/jdi/event/EventQueue;
            3    8     2  eventSet  Lcom/sun/jdi/event/EventSet;
            4    8     3        it  Lcom/sun/jdi/event/EventIterator;
      Exception table:
        from    to  target  type
           2     8       9  Class java.lang.InterruptedException
           2     8      10  Class com.sun.jdi.VMDisconnectedException

  void setEventRequests(boolean);
    descriptor: (Z)V
    flags: (0x0000) 
    Code:
      stack=4, locals=9, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // boolean watchFields
         0: .line 92
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.vm:Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.eventRequestManager:()Lcom/sun/jdi/request/EventRequestManager;
            astore 2 /* mgr */
        start local 2 // com.sun.jdi.request.EventRequestManager mgr
         1: .line 95
            aload 2 /* mgr */
            aconst_null
         2: .line 96
            iconst_1
            iconst_1
         3: .line 95
            invokeinterface com.sun.jdi.request.EventRequestManager.createExceptionRequest:(Lcom/sun/jdi/ReferenceType;ZZ)Lcom/sun/jdi/request/ExceptionRequest;
            astore 3 /* excReq */
        start local 3 // com.sun.jdi.request.ExceptionRequest excReq
         4: .line 98
            aload 3 /* excReq */
            iconst_2
            invokeinterface com.sun.jdi.request.ExceptionRequest.setSuspendPolicy:(I)V
         5: .line 99
            aload 3 /* excReq */
            invokeinterface com.sun.jdi.request.ExceptionRequest.enable:()V
         6: .line 101
            aload 2 /* mgr */
            invokeinterface com.sun.jdi.request.EventRequestManager.createMethodEntryRequest:()Lcom/sun/jdi/request/MethodEntryRequest;
            astore 4 /* menr */
        start local 4 // com.sun.jdi.request.MethodEntryRequest menr
         7: .line 102
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         8: goto 11
         9: .line 103
      StackMap locals: com.sun.tools.example.trace.EventThread int com.sun.jdi.request.EventRequestManager com.sun.jdi.request.ExceptionRequest com.sun.jdi.request.MethodEntryRequest int
      StackMap stack:
            aload 4 /* menr */
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
            iload 5 /* i */
            aaload
            invokeinterface com.sun.jdi.request.MethodEntryRequest.addClassExclusionFilter:(Ljava/lang/String;)V
        10: .line 102
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 5 /* i */
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
            arraylength
            if_icmplt 9
        end local 5 // int i
        12: .line 105
            aload 4 /* menr */
            iconst_0
            invokeinterface com.sun.jdi.request.MethodEntryRequest.setSuspendPolicy:(I)V
        13: .line 106
            aload 4 /* menr */
            invokeinterface com.sun.jdi.request.MethodEntryRequest.enable:()V
        14: .line 108
            aload 2 /* mgr */
            invokeinterface com.sun.jdi.request.EventRequestManager.createMethodExitRequest:()Lcom/sun/jdi/request/MethodExitRequest;
            astore 5 /* mexr */
        start local 5 // com.sun.jdi.request.MethodExitRequest mexr
        15: .line 109
            iconst_0
            istore 6 /* i */
        start local 6 // int i
        16: goto 19
        17: .line 110
      StackMap locals: com.sun.tools.example.trace.EventThread int com.sun.jdi.request.EventRequestManager com.sun.jdi.request.ExceptionRequest com.sun.jdi.request.MethodEntryRequest com.sun.jdi.request.MethodExitRequest int
      StackMap stack:
            aload 5 /* mexr */
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
            iload 6 /* i */
            aaload
            invokeinterface com.sun.jdi.request.MethodExitRequest.addClassExclusionFilter:(Ljava/lang/String;)V
        18: .line 109
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        19: iload 6 /* i */
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
            arraylength
            if_icmplt 17
        end local 6 // int i
        20: .line 112
            aload 5 /* mexr */
            iconst_0
            invokeinterface com.sun.jdi.request.MethodExitRequest.setSuspendPolicy:(I)V
        21: .line 113
            aload 5 /* mexr */
            invokeinterface com.sun.jdi.request.MethodExitRequest.enable:()V
        22: .line 115
            aload 2 /* mgr */
            invokeinterface com.sun.jdi.request.EventRequestManager.createThreadDeathRequest:()Lcom/sun/jdi/request/ThreadDeathRequest;
            astore 6 /* tdr */
        start local 6 // com.sun.jdi.request.ThreadDeathRequest tdr
        23: .line 117
            aload 6 /* tdr */
            iconst_2
            invokeinterface com.sun.jdi.request.ThreadDeathRequest.setSuspendPolicy:(I)V
        24: .line 118
            aload 6 /* tdr */
            invokeinterface com.sun.jdi.request.ThreadDeathRequest.enable:()V
        25: .line 120
            iload 1 /* watchFields */
            ifeq 34
        26: .line 121
            aload 2 /* mgr */
            invokeinterface com.sun.jdi.request.EventRequestManager.createClassPrepareRequest:()Lcom/sun/jdi/request/ClassPrepareRequest;
            astore 7 /* cpr */
        start local 7 // com.sun.jdi.request.ClassPrepareRequest cpr
        27: .line 122
            iconst_0
            istore 8 /* i */
        start local 8 // int i
        28: goto 31
        29: .line 123
      StackMap locals: com.sun.tools.example.trace.EventThread int com.sun.jdi.request.EventRequestManager com.sun.jdi.request.ExceptionRequest com.sun.jdi.request.MethodEntryRequest com.sun.jdi.request.MethodExitRequest com.sun.jdi.request.ThreadDeathRequest com.sun.jdi.request.ClassPrepareRequest int
      StackMap stack:
            aload 7 /* cpr */
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
            iload 8 /* i */
            aaload
            invokeinterface com.sun.jdi.request.ClassPrepareRequest.addClassExclusionFilter:(Ljava/lang/String;)V
        30: .line 122
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        31: iload 8 /* i */
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
            arraylength
            if_icmplt 29
        end local 8 // int i
        32: .line 125
            aload 7 /* cpr */
            iconst_2
            invokeinterface com.sun.jdi.request.ClassPrepareRequest.setSuspendPolicy:(I)V
        33: .line 126
            aload 7 /* cpr */
            invokeinterface com.sun.jdi.request.ClassPrepareRequest.enable:()V
        end local 7 // com.sun.jdi.request.ClassPrepareRequest cpr
        34: .line 128
      StackMap locals:
      StackMap stack:
            return
        end local 6 // com.sun.jdi.request.ThreadDeathRequest tdr
        end local 5 // com.sun.jdi.request.MethodExitRequest mexr
        end local 4 // com.sun.jdi.request.MethodEntryRequest menr
        end local 3 // com.sun.jdi.request.ExceptionRequest excReq
        end local 2 // com.sun.jdi.request.EventRequestManager mgr
        end local 1 // boolean watchFields
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   35     0         this  Lcom/sun/tools/example/trace/EventThread;
            0   35     1  watchFields  Z
            1   35     2          mgr  Lcom/sun/jdi/request/EventRequestManager;
            4   35     3       excReq  Lcom/sun/jdi/request/ExceptionRequest;
            7   35     4         menr  Lcom/sun/jdi/request/MethodEntryRequest;
            8   12     5            i  I
           15   35     5         mexr  Lcom/sun/jdi/request/MethodExitRequest;
           16   20     6            i  I
           23   35     6          tdr  Lcom/sun/jdi/request/ThreadDeathRequest;
           27   34     7          cpr  Lcom/sun/jdi/request/ClassPrepareRequest;
           28   32     8            i  I
    MethodParameters:
             Name  Flags
      watchFields  

  com.sun.tools.example.trace.EventThread$ThreadTrace threadTrace(com.sun.jdi.ThreadReference);
    descriptor: (Lcom/sun/jdi/ThreadReference;)Lcom/sun/tools/example/trace/EventThread$ThreadTrace;
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.ThreadReference thread
         0: .line 211
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.traceMap:Ljava/util/Map;
            aload 1 /* thread */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.sun.tools.example.trace.EventThread$ThreadTrace
            astore 2 /* trace */
        start local 2 // com.sun.tools.example.trace.EventThread$ThreadTrace trace
         1: .line 212
            aload 2 /* trace */
            ifnonnull 4
         2: .line 213
            new com.sun.tools.example.trace.EventThread$ThreadTrace
            dup
            aload 0 /* this */
            aload 1 /* thread */
            invokespecial com.sun.tools.example.trace.EventThread$ThreadTrace.<init>:(Lcom/sun/tools/example/trace/EventThread;Lcom/sun/jdi/ThreadReference;)V
            astore 2 /* trace */
         3: .line 214
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.traceMap:Ljava/util/Map;
            aload 1 /* thread */
            aload 2 /* trace */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 216
      StackMap locals: com.sun.tools.example.trace.EventThread$ThreadTrace
      StackMap stack:
            aload 2 /* trace */
            areturn
        end local 2 // com.sun.tools.example.trace.EventThread$ThreadTrace trace
        end local 1 // com.sun.jdi.ThreadReference thread
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lcom/sun/tools/example/trace/EventThread;
            0    5     1  thread  Lcom/sun/jdi/ThreadReference;
            1    5     2   trace  Lcom/sun/tools/example/trace/EventThread$ThreadTrace;
    MethodParameters:
        Name  Flags
      thread  

  private void handleEvent(com.sun.jdi.event.Event);
    descriptor: (Lcom/sun/jdi/event/Event;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.Event event
         0: .line 223
            aload 1 /* event */
            instanceof com.sun.jdi.event.ExceptionEvent
            ifeq 3
         1: .line 224
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.ExceptionEvent
            invokevirtual com.sun.tools.example.trace.EventThread.exceptionEvent:(Lcom/sun/jdi/event/ExceptionEvent;)V
         2: .line 225
            goto 31
      StackMap locals:
      StackMap stack:
         3: aload 1 /* event */
            instanceof com.sun.jdi.event.ModificationWatchpointEvent
            ifeq 6
         4: .line 226
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.ModificationWatchpointEvent
            invokevirtual com.sun.tools.example.trace.EventThread.fieldWatchEvent:(Lcom/sun/jdi/event/ModificationWatchpointEvent;)V
         5: .line 227
            goto 31
      StackMap locals:
      StackMap stack:
         6: aload 1 /* event */
            instanceof com.sun.jdi.event.MethodEntryEvent
            ifeq 9
         7: .line 228
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.MethodEntryEvent
            invokevirtual com.sun.tools.example.trace.EventThread.methodEntryEvent:(Lcom/sun/jdi/event/MethodEntryEvent;)V
         8: .line 229
            goto 31
      StackMap locals:
      StackMap stack:
         9: aload 1 /* event */
            instanceof com.sun.jdi.event.MethodExitEvent
            ifeq 12
        10: .line 230
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.MethodExitEvent
            invokevirtual com.sun.tools.example.trace.EventThread.methodExitEvent:(Lcom/sun/jdi/event/MethodExitEvent;)V
        11: .line 231
            goto 31
      StackMap locals:
      StackMap stack:
        12: aload 1 /* event */
            instanceof com.sun.jdi.event.StepEvent
            ifeq 15
        13: .line 232
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.StepEvent
            invokevirtual com.sun.tools.example.trace.EventThread.stepEvent:(Lcom/sun/jdi/event/StepEvent;)V
        14: .line 233
            goto 31
      StackMap locals:
      StackMap stack:
        15: aload 1 /* event */
            instanceof com.sun.jdi.event.ThreadDeathEvent
            ifeq 18
        16: .line 234
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.ThreadDeathEvent
            invokevirtual com.sun.tools.example.trace.EventThread.threadDeathEvent:(Lcom/sun/jdi/event/ThreadDeathEvent;)V
        17: .line 235
            goto 31
      StackMap locals:
      StackMap stack:
        18: aload 1 /* event */
            instanceof com.sun.jdi.event.ClassPrepareEvent
            ifeq 21
        19: .line 236
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.ClassPrepareEvent
            invokevirtual com.sun.tools.example.trace.EventThread.classPrepareEvent:(Lcom/sun/jdi/event/ClassPrepareEvent;)V
        20: .line 237
            goto 31
      StackMap locals:
      StackMap stack:
        21: aload 1 /* event */
            instanceof com.sun.jdi.event.VMStartEvent
            ifeq 24
        22: .line 238
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.VMStartEvent
            invokevirtual com.sun.tools.example.trace.EventThread.vmStartEvent:(Lcom/sun/jdi/event/VMStartEvent;)V
        23: .line 239
            goto 31
      StackMap locals:
      StackMap stack:
        24: aload 1 /* event */
            instanceof com.sun.jdi.event.VMDeathEvent
            ifeq 27
        25: .line 240
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.VMDeathEvent
            invokevirtual com.sun.tools.example.trace.EventThread.vmDeathEvent:(Lcom/sun/jdi/event/VMDeathEvent;)V
        26: .line 241
            goto 31
      StackMap locals:
      StackMap stack:
        27: aload 1 /* event */
            instanceof com.sun.jdi.event.VMDisconnectEvent
            ifeq 30
        28: .line 242
            aload 0 /* this */
            aload 1 /* event */
            checkcast com.sun.jdi.event.VMDisconnectEvent
            invokevirtual com.sun.tools.example.trace.EventThread.vmDisconnectEvent:(Lcom/sun/jdi/event/VMDisconnectEvent;)V
        29: .line 243
            goto 31
        30: .line 244
      StackMap locals:
      StackMap stack:
            new java.lang.Error
            dup
            ldc "Unexpected event type"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        31: .line 246
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.sun.jdi.event.Event event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   32     0   this  Lcom/sun/tools/example/trace/EventThread;
            0   32     1  event  Lcom/sun/jdi/event/Event;
    MethodParameters:
       Name  Flags
      event  

  synchronized void handleDisconnectedException();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // com.sun.tools.example.trace.EventThread this
         0: .line 255
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.vm:Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.eventQueue:()Lcom/sun/jdi/event/EventQueue;
            astore 1 /* queue */
        start local 1 // com.sun.jdi.event.EventQueue queue
         1: .line 256
            goto 15
         2: .line 258
      StackMap locals: com.sun.jdi.event.EventQueue
      StackMap stack:
            aload 1 /* queue */
            invokeinterface com.sun.jdi.event.EventQueue.remove:()Lcom/sun/jdi/event/EventSet;
            astore 2 /* eventSet */
        start local 2 // com.sun.jdi.event.EventSet eventSet
         3: .line 259
            aload 2 /* eventSet */
            invokeinterface com.sun.jdi.event.EventSet.eventIterator:()Lcom/sun/jdi/event/EventIterator;
            astore 3 /* iter */
        start local 3 // com.sun.jdi.event.EventIterator iter
         4: .line 260
            goto 11
         5: .line 261
      StackMap locals: com.sun.jdi.event.EventSet com.sun.jdi.event.EventIterator
      StackMap stack:
            aload 3 /* iter */
            invokeinterface com.sun.jdi.event.EventIterator.nextEvent:()Lcom/sun/jdi/event/Event;
            astore 4 /* event */
        start local 4 // com.sun.jdi.event.Event event
         6: .line 262
            aload 4 /* event */
            instanceof com.sun.jdi.event.VMDeathEvent
            ifeq 9
         7: .line 263
            aload 0 /* this */
            aload 4 /* event */
            checkcast com.sun.jdi.event.VMDeathEvent
            invokevirtual com.sun.tools.example.trace.EventThread.vmDeathEvent:(Lcom/sun/jdi/event/VMDeathEvent;)V
         8: .line 264
            goto 11
      StackMap locals: com.sun.jdi.event.Event
      StackMap stack:
         9: aload 4 /* event */
            instanceof com.sun.jdi.event.VMDisconnectEvent
            ifeq 11
        10: .line 265
            aload 0 /* this */
            aload 4 /* event */
            checkcast com.sun.jdi.event.VMDisconnectEvent
            invokevirtual com.sun.tools.example.trace.EventThread.vmDisconnectEvent:(Lcom/sun/jdi/event/VMDisconnectEvent;)V
        end local 4 // com.sun.jdi.event.Event event
        11: .line 260
      StackMap locals:
      StackMap stack:
            aload 3 /* iter */
            invokeinterface com.sun.jdi.event.EventIterator.hasNext:()Z
            ifne 5
        12: .line 268
            aload 2 /* eventSet */
            invokeinterface com.sun.jdi.event.EventSet.resume:()V
        end local 3 // com.sun.jdi.event.EventIterator iter
        end local 2 // com.sun.jdi.event.EventSet eventSet
        13: .line 269
            goto 15
      StackMap locals: com.sun.tools.example.trace.EventThread com.sun.jdi.event.EventQueue
      StackMap stack: java.lang.InterruptedException
        14: pop
        15: .line 256
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.connected:Z
            ifne 2
        16: .line 273
            return
        end local 1 // com.sun.jdi.event.EventQueue queue
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   17     0      this  Lcom/sun/tools/example/trace/EventThread;
            1   17     1     queue  Lcom/sun/jdi/event/EventQueue;
            3   13     2  eventSet  Lcom/sun/jdi/event/EventSet;
            4   13     3      iter  Lcom/sun/jdi/event/EventIterator;
            6   11     4     event  Lcom/sun/jdi/event/Event;
      Exception table:
        from    to  target  type
           2    13      14  Class java.lang.InterruptedException

  private void vmStartEvent(com.sun.jdi.event.VMStartEvent);
    descriptor: (Lcom/sun/jdi/event/VMStartEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.VMStartEvent event
         0: .line 276
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.writer:Ljava/io/PrintWriter;
            ldc "-- VM Started --"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
         1: .line 277
            return
        end local 1 // com.sun.jdi.event.VMStartEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    2     1  event  Lcom/sun/jdi/event/VMStartEvent;
    MethodParameters:
       Name  Flags
      event  

  private void methodEntryEvent(com.sun.jdi.event.MethodEntryEvent);
    descriptor: (Lcom/sun/jdi/event/MethodEntryEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.MethodEntryEvent event
         0: .line 281
            aload 0 /* this */
            aload 1 /* event */
            invokeinterface com.sun.jdi.event.MethodEntryEvent.thread:()Lcom/sun/jdi/ThreadReference;
            invokevirtual com.sun.tools.example.trace.EventThread.threadTrace:(Lcom/sun/jdi/ThreadReference;)Lcom/sun/tools/example/trace/EventThread$ThreadTrace;
            aload 1 /* event */
            invokevirtual com.sun.tools.example.trace.EventThread$ThreadTrace.methodEntryEvent:(Lcom/sun/jdi/event/MethodEntryEvent;)V
         1: .line 282
            return
        end local 1 // com.sun.jdi.event.MethodEntryEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    2     1  event  Lcom/sun/jdi/event/MethodEntryEvent;
    MethodParameters:
       Name  Flags
      event  

  private void methodExitEvent(com.sun.jdi.event.MethodExitEvent);
    descriptor: (Lcom/sun/jdi/event/MethodExitEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.MethodExitEvent event
         0: .line 286
            aload 0 /* this */
            aload 1 /* event */
            invokeinterface com.sun.jdi.event.MethodExitEvent.thread:()Lcom/sun/jdi/ThreadReference;
            invokevirtual com.sun.tools.example.trace.EventThread.threadTrace:(Lcom/sun/jdi/ThreadReference;)Lcom/sun/tools/example/trace/EventThread$ThreadTrace;
            aload 1 /* event */
            invokevirtual com.sun.tools.example.trace.EventThread$ThreadTrace.methodExitEvent:(Lcom/sun/jdi/event/MethodExitEvent;)V
         1: .line 287
            return
        end local 1 // com.sun.jdi.event.MethodExitEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    2     1  event  Lcom/sun/jdi/event/MethodExitEvent;
    MethodParameters:
       Name  Flags
      event  

  private void stepEvent(com.sun.jdi.event.StepEvent);
    descriptor: (Lcom/sun/jdi/event/StepEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.StepEvent event
         0: .line 291
            aload 0 /* this */
            aload 1 /* event */
            invokeinterface com.sun.jdi.event.StepEvent.thread:()Lcom/sun/jdi/ThreadReference;
            invokevirtual com.sun.tools.example.trace.EventThread.threadTrace:(Lcom/sun/jdi/ThreadReference;)Lcom/sun/tools/example/trace/EventThread$ThreadTrace;
            aload 1 /* event */
            invokevirtual com.sun.tools.example.trace.EventThread$ThreadTrace.stepEvent:(Lcom/sun/jdi/event/StepEvent;)V
         1: .line 292
            return
        end local 1 // com.sun.jdi.event.StepEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    2     1  event  Lcom/sun/jdi/event/StepEvent;
    MethodParameters:
       Name  Flags
      event  

  private void fieldWatchEvent(com.sun.jdi.event.ModificationWatchpointEvent);
    descriptor: (Lcom/sun/jdi/event/ModificationWatchpointEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.ModificationWatchpointEvent event
         0: .line 296
            aload 0 /* this */
            aload 1 /* event */
            invokeinterface com.sun.jdi.event.ModificationWatchpointEvent.thread:()Lcom/sun/jdi/ThreadReference;
            invokevirtual com.sun.tools.example.trace.EventThread.threadTrace:(Lcom/sun/jdi/ThreadReference;)Lcom/sun/tools/example/trace/EventThread$ThreadTrace;
            aload 1 /* event */
            invokevirtual com.sun.tools.example.trace.EventThread$ThreadTrace.fieldWatchEvent:(Lcom/sun/jdi/event/ModificationWatchpointEvent;)V
         1: .line 297
            return
        end local 1 // com.sun.jdi.event.ModificationWatchpointEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    2     1  event  Lcom/sun/jdi/event/ModificationWatchpointEvent;
    MethodParameters:
       Name  Flags
      event  

  void threadDeathEvent(com.sun.jdi.event.ThreadDeathEvent);
    descriptor: (Lcom/sun/jdi/event/ThreadDeathEvent;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.ThreadDeathEvent event
         0: .line 300
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.traceMap:Ljava/util/Map;
            aload 1 /* event */
            invokeinterface com.sun.jdi.event.ThreadDeathEvent.thread:()Lcom/sun/jdi/ThreadReference;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.sun.tools.example.trace.EventThread$ThreadTrace
            astore 2 /* trace */
        start local 2 // com.sun.tools.example.trace.EventThread$ThreadTrace trace
         1: .line 301
            aload 2 /* trace */
            ifnull 3
         2: .line 302
            aload 2 /* trace */
            aload 1 /* event */
            invokevirtual com.sun.tools.example.trace.EventThread$ThreadTrace.threadDeathEvent:(Lcom/sun/jdi/event/ThreadDeathEvent;)V
         3: .line 304
      StackMap locals: com.sun.tools.example.trace.EventThread$ThreadTrace
      StackMap stack:
            return
        end local 2 // com.sun.tools.example.trace.EventThread$ThreadTrace trace
        end local 1 // com.sun.jdi.event.ThreadDeathEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    4     1  event  Lcom/sun/jdi/event/ThreadDeathEvent;
            1    4     2  trace  Lcom/sun/tools/example/trace/EventThread$ThreadTrace;
    MethodParameters:
       Name  Flags
      event  

  private void classPrepareEvent(com.sun.jdi.event.ClassPrepareEvent);
    descriptor: (Lcom/sun/jdi/event/ClassPrepareEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=8, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.ClassPrepareEvent event
         0: .line 311
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.vm:Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.eventRequestManager:()Lcom/sun/jdi/request/EventRequestManager;
            astore 2 /* mgr */
        start local 2 // com.sun.jdi.request.EventRequestManager mgr
         1: .line 312
            aload 1 /* event */
            invokeinterface com.sun.jdi.event.ClassPrepareEvent.referenceType:()Lcom/sun/jdi/ReferenceType;
            invokeinterface com.sun.jdi.ReferenceType.visibleFields:()Ljava/util/List;
            astore 3 /* fields */
        start local 3 // java.util.List fields
         2: .line 313
            aload 3 /* fields */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4 /* it */
        start local 4 // java.util.Iterator it
         3: goto 14
         4: .line 314
      StackMap locals: com.sun.jdi.request.EventRequestManager java.util.List java.util.Iterator
      StackMap stack:
            aload 4 /* it */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.sun.jdi.Field
            astore 5 /* field */
        start local 5 // com.sun.jdi.Field field
         5: .line 316
            aload 2 /* mgr */
            aload 5 /* field */
            invokeinterface com.sun.jdi.request.EventRequestManager.createModificationWatchpointRequest:(Lcom/sun/jdi/Field;)Lcom/sun/jdi/request/ModificationWatchpointRequest;
         6: .line 315
            astore 6 /* req */
        start local 6 // com.sun.jdi.request.ModificationWatchpointRequest req
         7: .line 317
            iconst_0
            istore 7 /* i */
        start local 7 // int i
         8: goto 11
         9: .line 318
      StackMap locals: com.sun.jdi.Field com.sun.jdi.request.ModificationWatchpointRequest int
      StackMap stack:
            aload 6 /* req */
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
            iload 7 /* i */
            aaload
            invokeinterface com.sun.jdi.request.ModificationWatchpointRequest.addClassExclusionFilter:(Ljava/lang/String;)V
        10: .line 317
            iinc 7 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 7 /* i */
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.excludes:[Ljava/lang/String;
            arraylength
            if_icmplt 9
        end local 7 // int i
        12: .line 320
            aload 6 /* req */
            iconst_0
            invokeinterface com.sun.jdi.request.ModificationWatchpointRequest.setSuspendPolicy:(I)V
        13: .line 321
            aload 6 /* req */
            invokeinterface com.sun.jdi.request.ModificationWatchpointRequest.enable:()V
        end local 6 // com.sun.jdi.request.ModificationWatchpointRequest req
        end local 5 // com.sun.jdi.Field field
        14: .line 313
      StackMap locals:
      StackMap stack:
            aload 4 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        end local 4 // java.util.Iterator it
        15: .line 323
            return
        end local 3 // java.util.List fields
        end local 2 // com.sun.jdi.request.EventRequestManager mgr
        end local 1 // com.sun.jdi.event.ClassPrepareEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   16     0    this  Lcom/sun/tools/example/trace/EventThread;
            0   16     1   event  Lcom/sun/jdi/event/ClassPrepareEvent;
            1   16     2     mgr  Lcom/sun/jdi/request/EventRequestManager;
            2   16     3  fields  Ljava/util/List;
            3   15     4      it  Ljava/util/Iterator;
            5   14     5   field  Lcom/sun/jdi/Field;
            7   14     6     req  Lcom/sun/jdi/request/ModificationWatchpointRequest;
            8   12     7       i  I
    MethodParameters:
       Name  Flags
      event  

  private void exceptionEvent(com.sun.jdi.event.ExceptionEvent);
    descriptor: (Lcom/sun/jdi/event/ExceptionEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.ExceptionEvent event
         0: .line 326
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.traceMap:Ljava/util/Map;
            aload 1 /* event */
            invokeinterface com.sun.jdi.event.ExceptionEvent.thread:()Lcom/sun/jdi/ThreadReference;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.sun.tools.example.trace.EventThread$ThreadTrace
            astore 2 /* trace */
        start local 2 // com.sun.tools.example.trace.EventThread$ThreadTrace trace
         1: .line 327
            aload 2 /* trace */
            ifnull 3
         2: .line 328
            aload 2 /* trace */
            aload 1 /* event */
            invokevirtual com.sun.tools.example.trace.EventThread$ThreadTrace.exceptionEvent:(Lcom/sun/jdi/event/ExceptionEvent;)V
         3: .line 330
      StackMap locals: com.sun.tools.example.trace.EventThread$ThreadTrace
      StackMap stack:
            return
        end local 2 // com.sun.tools.example.trace.EventThread$ThreadTrace trace
        end local 1 // com.sun.jdi.event.ExceptionEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    4     1  event  Lcom/sun/jdi/event/ExceptionEvent;
            1    4     2  trace  Lcom/sun/tools/example/trace/EventThread$ThreadTrace;
    MethodParameters:
       Name  Flags
      event  

  public void vmDeathEvent(com.sun.jdi.event.VMDeathEvent);
    descriptor: (Lcom/sun/jdi/event/VMDeathEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.VMDeathEvent event
         0: .line 333
            aload 0 /* this */
            iconst_1
            putfield com.sun.tools.example.trace.EventThread.vmDied:Z
         1: .line 334
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.writer:Ljava/io/PrintWriter;
            ldc "-- The application exited --"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
         2: .line 335
            return
        end local 1 // com.sun.jdi.event.VMDeathEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    3     1  event  Lcom/sun/jdi/event/VMDeathEvent;
    MethodParameters:
       Name  Flags
      event  

  public void vmDisconnectEvent(com.sun.jdi.event.VMDisconnectEvent);
    descriptor: (Lcom/sun/jdi/event/VMDisconnectEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.example.trace.EventThread this
        start local 1 // com.sun.jdi.event.VMDisconnectEvent event
         0: .line 338
            aload 0 /* this */
            iconst_0
            putfield com.sun.tools.example.trace.EventThread.connected:Z
         1: .line 339
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.vmDied:Z
            ifne 3
         2: .line 340
            aload 0 /* this */
            getfield com.sun.tools.example.trace.EventThread.writer:Ljava/io/PrintWriter;
            ldc "-- The application has been disconnected --"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
         3: .line 342
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.sun.jdi.event.VMDisconnectEvent event
        end local 0 // com.sun.tools.example.trace.EventThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lcom/sun/tools/example/trace/EventThread;
            0    4     1  event  Lcom/sun/jdi/event/VMDisconnectEvent;
    MethodParameters:
       Name  Flags
      event  
}
SourceFile: "EventThread.java"
NestMembers:
  com.sun.tools.example.trace.EventThread$ThreadTrace
InnerClasses:
  ThreadTrace = com.sun.tools.example.trace.EventThread$ThreadTrace of com.sun.tools.example.trace.EventThread