public class com.oracle.truffle.api.debug.test.DebuggerContextsTest extends com.oracle.truffle.api.debug.test.AbstractDebugTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.api.debug.test.DebuggerContextsTest
  super_class: com.oracle.truffle.api.debug.test.AbstractDebugTest
{
  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 66
            ldc Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.api.debug.test.DebuggerContextsTest.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
         0: .line 66
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.debug.test.AbstractDebugTest.<init>:()V
            return
        end local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest;

  public void testSingleContext();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=1
        start local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
         0: .line 70
            aload 0 /* this */
            ldc "STATEMENT()"
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.testSource:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 71
            new com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener
            dup
            invokespecial com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.<init>:()V
            astore 2 /* contextsListener */
        start local 2 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
         2: .line 72
            aload 2 /* contextsListener */
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.events:Ljava/util/List;
            astore 3 /* events */
        start local 3 // java.util.List events
         3: .line 73
            aconst_null
            astore 4
            aconst_null
            astore 5
         4: aload 0 /* this */
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.startSession:()Lcom/oracle/truffle/api/debug/DebuggerSession;
            astore 6 /* session */
        start local 6 // com.oracle.truffle.api.debug.DebuggerSession session
         5: .line 74
            aload 6 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.suspendNextExecution:()V
         6: .line 75
            aload 6 /* session */
            aload 2 /* contextsListener */
            iconst_0
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.setContextsListener:(Lcom/oracle/truffle/api/debug/DebugContextsListener;Z)V
         7: .line 76
            aload 0 /* this */
            aload 1 /* source */
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.startEval:(Lorg/graalvm/polyglot/Source;)V
         8: .line 78
            aload 0 /* this */
            aload 3 /* events */
            invokedynamic onSuspend(Ljava/util/List;)Lcom/oracle/truffle/api/debug/SuspendedCallback;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Lcom/oracle/truffle/api/debug/SuspendedEvent;)V
                  com/oracle/truffle/api/debug/test/DebuggerContextsTest.lambda$0(Ljava/util/List;Lcom/oracle/truffle/api/debug/SuspendedEvent;)V (6)
                  (Lcom/oracle/truffle/api/debug/SuspendedEvent;)V
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.expectSuspended:(Lcom/oracle/truffle/api/debug/SuspendedCallback;)V
         9: .line 85
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.expectDone:()Ljava/lang/String;
            pop
        10: .line 86
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.closeEngine:()V
        11: .line 87
            ldc 5
            aload 3 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        12: .line 88
            aload 3 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageFinalized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        13: .line 89
            ldc "instrumentation-test-language"
            aload 3 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokevirtual com.oracle.truffle.api.nodes.LanguageInfo.getId:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 90
            aload 3 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            aload 3 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 91
            aload 3 /* events */
            iconst_3
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        16: .line 92
            ldc "instrumentation-test-language"
            aload 3 /* events */
            iconst_3
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokevirtual com.oracle.truffle.api.nodes.LanguageInfo.getId:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        17: .line 93
            aload 3 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            aload 3 /* events */
            iconst_3
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        18: .line 94
            aload 3 /* events */
            iconst_4
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        19: .line 95
            aload 3 /* events */
            iconst_4
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        20: .line 96
            aload 3 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            aload 3 /* events */
            iconst_4
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        21: .line 97
            aload 6 /* session */
            ifnull 27
            aload 6 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
            goto 27
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest org.graalvm.polyglot.Source com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession
      StackMap stack: java.lang.Throwable
        22: astore 4
            aload 6 /* session */
            ifnull 23
            aload 6 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
        end local 6 // com.oracle.truffle.api.debug.DebuggerSession session
      StackMap locals:
      StackMap stack:
        23: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        24: astore 5
            aload 4
            ifnonnull 25
            aload 5
            astore 4
            goto 26
      StackMap locals:
      StackMap stack:
        25: aload 4
            aload 5
            if_acmpeq 26
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        26: aload 4
            athrow
        27: .line 98
      StackMap locals:
      StackMap stack:
            aload 3 /* events */
            invokeinterface java.util.List.clear:()V
        28: .line 99
            return
        end local 3 // java.util.List events
        end local 2 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   29     0              this  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest;
            1   29     1            source  Lorg/graalvm/polyglot/Source;
            2   29     2  contextsListener  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$TestContextsListener;
            3   29     3            events  Ljava/util/List<Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$ContextEvent;>;
            5   23     6           session  Lcom/oracle/truffle/api/debug/DebuggerSession;
      Exception table:
        from    to  target  type
           5    21      22  any
           4    24      24  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testInnerContext();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=1
        start local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
         0: .line 103
            aload 0 /* this */
            ldc "ROOT(STATEMENT(), CONTEXT(STATEMENT()))"
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.testSource:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 104
            new com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener
            dup
            invokespecial com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.<init>:()V
            astore 2 /* contextsListener */
        start local 2 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
         2: .line 105
            aload 2 /* contextsListener */
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.events:Ljava/util/List;
            astore 3 /* events */
        start local 3 // java.util.List events
         3: .line 106
            aconst_null
            astore 4
            aconst_null
            astore 5
         4: aload 0 /* this */
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.startSession:()Lcom/oracle/truffle/api/debug/DebuggerSession;
            astore 6 /* session */
        start local 6 // com.oracle.truffle.api.debug.DebuggerSession session
         5: .line 107
            aload 6 /* session */
            aload 2 /* contextsListener */
            iconst_0
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.setContextsListener:(Lcom/oracle/truffle/api/debug/DebugContextsListener;Z)V
         6: .line 108
            aload 0 /* this */
            aload 1 /* source */
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.startEval:(Lorg/graalvm/polyglot/Source;)V
         7: .line 109
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.expectDone:()Ljava/lang/String;
            pop
         8: .line 111
            ldc 8
            aload 3 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         9: .line 112
            aload 3 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        10: .line 113
            aload 3 /* events */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageInitialized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        11: .line 114
            aload 3 /* events */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            aload 3 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertNotEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 115
            aload 3 /* events */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            aload 3 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokevirtual com.oracle.truffle.api.debug.DebugContext.getParent:()Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        13: .line 116
            aload 3 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        14: .line 117
            aload 3 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        15: .line 118
            aload 3 /* events */
            iconst_3
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        16: .line 119
            aload 3 /* events */
            iconst_3
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        17: .line 120
            aload 3 /* events */
            iconst_4
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageInitialized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        18: .line 121
            aload 3 /* events */
            iconst_5
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageFinalized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        19: .line 122
            aload 3 /* events */
            bipush 6
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        20: .line 123
            ldc "instrumentation-test-language"
            aload 3 /* events */
            bipush 6
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokevirtual com.oracle.truffle.api.nodes.LanguageInfo.getId:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        21: .line 124
            aload 3 /* events */
            bipush 7
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        22: .line 125
            aload 3 /* events */
            bipush 7
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        23: .line 126
            aload 3 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            aload 3 /* events */
            bipush 7
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        24: .line 127
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.debug.test.DebuggerContextsTest.closeEngine:()V
        25: .line 128
            aload 6 /* session */
            ifnull 31
            aload 6 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
            goto 31
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest org.graalvm.polyglot.Source com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession
      StackMap stack: java.lang.Throwable
        26: astore 4
            aload 6 /* session */
            ifnull 27
            aload 6 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
        end local 6 // com.oracle.truffle.api.debug.DebuggerSession session
      StackMap locals:
      StackMap stack:
        27: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        28: astore 5
            aload 4
            ifnonnull 29
            aload 5
            astore 4
            goto 30
      StackMap locals:
      StackMap stack:
        29: aload 4
            aload 5
            if_acmpeq 30
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        30: aload 4
            athrow
        31: .line 129
      StackMap locals:
      StackMap stack:
            ldc 11
            aload 3 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        32: .line 130
            aload 3 /* events */
            bipush 8
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageFinalized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        33: .line 131
            aload 3 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            aload 3 /* events */
            bipush 8
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        34: .line 132
            aload 3 /* events */
            bipush 9
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        35: .line 133
            ldc "instrumentation-test-language"
            aload 3 /* events */
            bipush 9
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokevirtual com.oracle.truffle.api.nodes.LanguageInfo.getId:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        36: .line 134
            aload 3 /* events */
            bipush 10
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        37: .line 135
            aload 3 /* events */
            bipush 10
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        38: .line 136
            aload 3 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            aload 3 /* events */
            bipush 10
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        39: .line 137
            return
        end local 3 // java.util.List events
        end local 2 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   40     0              this  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest;
            1   40     1            source  Lorg/graalvm/polyglot/Source;
            2   40     2  contextsListener  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$TestContextsListener;
            3   40     3            events  Ljava/util/List<Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$ContextEvent;>;
            5   27     6           session  Lcom/oracle/truffle/api/debug/DebuggerSession;
      Exception table:
        from    to  target  type
           5    25      26  any
           4    28      28  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultipleContexts();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=14, args_size=1
        start local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
         0: .line 141
            ldc "instrumentation-test-language"
            ldc "STATEMENT()"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 142
            invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
            astore 2 /* engine */
        start local 2 // org.graalvm.polyglot.Engine engine
         2: .line 143
            new com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener
            dup
            invokespecial com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.<init>:()V
            astore 3 /* contextsListener */
        start local 3 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
         3: .line 144
            aload 3 /* contextsListener */
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.events:Ljava/util/List;
            astore 4 /* events */
        start local 4 // java.util.List events
         4: .line 146
            iconst_5
            istore 5 /* numContexts */
        start local 5 // int numContexts
         5: .line 147
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.getInstruments:()Ljava/util/Map;
            ldc "debugger"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Instrument
            ldc Lcom/oracle/truffle/api/debug/Debugger;
            invokevirtual org.graalvm.polyglot.Instrument.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.Debugger
            astore 6 /* debugger */
        start local 6 // com.oracle.truffle.api.debug.Debugger debugger
         6: .line 148
            aconst_null
            astore 7
            aconst_null
            astore 8
         7: aload 6 /* debugger */
            aconst_null
            invokevirtual com.oracle.truffle.api.debug.Debugger.startSession:(Lcom/oracle/truffle/api/debug/SuspendedCallback;)Lcom/oracle/truffle/api/debug/DebuggerSession;
            astore 9 /* session */
        start local 9 // com.oracle.truffle.api.debug.DebuggerSession session
         8: .line 149
            aload 9 /* session */
            aload 3 /* contextsListener */
            iconst_0
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.setContextsListener:(Lcom/oracle/truffle/api/debug/DebugContextsListener;Z)V
         9: .line 150
            iconst_0
            istore 10 /* i */
        start local 10 // int i
        10: goto 23
        11: .line 151
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest org.graalvm.polyglot.Source org.graalvm.polyglot.Engine com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List int com.oracle.truffle.api.debug.Debugger java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession int
      StackMap stack:
            aconst_null
            astore 11
            aconst_null
            astore 12
        12: iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 13 /* context */
        start local 13 // org.graalvm.polyglot.Context context
        13: .line 152
            bipush 6
            iload 10 /* i */
            imul
            iconst_1
            iadd
            i2l
            aload 4 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        14: .line 153
            aload 13 /* context */
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
        15: .line 154
            aload 13 /* context */
            ifnull 21
            aload 13 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 21
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest org.graalvm.polyglot.Source org.graalvm.polyglot.Engine com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List int com.oracle.truffle.api.debug.Debugger java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession int java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        16: astore 11
            aload 13 /* context */
            ifnull 17
            aload 13 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 13 // org.graalvm.polyglot.Context context
      StackMap locals:
      StackMap stack:
        17: aload 11
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        18: astore 12
            aload 11
            ifnonnull 19
            aload 12
            astore 11
            goto 20
      StackMap locals:
      StackMap stack:
        19: aload 11
            aload 12
            if_acmpeq 20
            aload 11
            aload 12
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        20: aload 11
            athrow
        21: .line 155
      StackMap locals:
      StackMap stack:
            bipush 6
            iload 10 /* i */
            imul
            bipush 6
            iadd
            i2l
            aload 4 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        22: .line 150
            iinc 10 /* i */ 1
      StackMap locals:
      StackMap stack:
        23: iload 10 /* i */
            iload 5 /* numContexts */
            if_icmplt 11
        end local 10 // int i
        24: .line 157
            bipush 6
            iload 5 /* numContexts */
            imul
            i2l
            aload 4 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        25: .line 158
            aconst_null
            astore 10 /* lastContext */
        start local 10 // com.oracle.truffle.api.debug.DebugContext lastContext
        26: .line 159
            iconst_0
            istore 11 /* i */
        start local 11 // int i
        27: goto 41
        28: .line 160
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest org.graalvm.polyglot.Source org.graalvm.polyglot.Engine com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List int com.oracle.truffle.api.debug.Debugger java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession com.oracle.truffle.api.debug.DebugContext int
      StackMap stack:
            bipush 6
            iload 11 /* i */
            imul
            istore 12 /* ci */
        start local 12 // int ci
        29: .line 161
            aload 4 /* events */
            iload 12 /* ci */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        30: .line 162
            aload 4 /* events */
            iload 12 /* ci */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        31: .line 163
            aload 10 /* lastContext */
            aload 4 /* events */
            iload 12 /* ci */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertNotEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        32: .line 164
            aload 4 /* events */
            iload 12 /* ci */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            astore 10 /* lastContext */
        33: .line 165
            aload 4 /* events */
            iload 12 /* ci */
            iconst_1
            iadd
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        34: .line 166
            aload 4 /* events */
            iload 12 /* ci */
            iconst_1
            iadd
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        35: .line 167
            aload 10 /* lastContext */
            aload 4 /* events */
            iload 12 /* ci */
            iconst_1
            iadd
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        36: .line 168
            aload 4 /* events */
            iload 12 /* ci */
            iconst_2
            iadd
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageInitialized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        37: .line 169
            aload 4 /* events */
            iload 12 /* ci */
            iconst_3
            iadd
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageFinalized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        38: .line 170
            aload 4 /* events */
            iload 12 /* ci */
            iconst_4
            iadd
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        39: .line 171
            aload 4 /* events */
            iload 12 /* ci */
            iconst_5
            iadd
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        end local 12 // int ci
        40: .line 159
            iinc 11 /* i */ 1
      StackMap locals:
      StackMap stack:
        41: iload 11 /* i */
            iload 5 /* numContexts */
            if_icmplt 28
        end local 11 // int i
        42: .line 173
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
        end local 10 // com.oracle.truffle.api.debug.DebugContext lastContext
        43: .line 174
            aload 9 /* session */
            ifnull 49
            aload 9 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
            goto 49
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest org.graalvm.polyglot.Source org.graalvm.polyglot.Engine com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List int com.oracle.truffle.api.debug.Debugger java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession
      StackMap stack: java.lang.Throwable
        44: astore 7
            aload 9 /* session */
            ifnull 45
            aload 9 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
        end local 9 // com.oracle.truffle.api.debug.DebuggerSession session
      StackMap locals:
      StackMap stack:
        45: aload 7
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        46: astore 8
            aload 7
            ifnonnull 47
            aload 8
            astore 7
            goto 48
      StackMap locals:
      StackMap stack:
        47: aload 7
            aload 8
            if_acmpeq 48
            aload 7
            aload 8
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        48: aload 7
            athrow
        49: .line 176
      StackMap locals:
      StackMap stack:
            bipush 6
            iload 5 /* numContexts */
            imul
            i2l
            aload 4 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        50: .line 177
            return
        end local 6 // com.oracle.truffle.api.debug.Debugger debugger
        end local 5 // int numContexts
        end local 4 // java.util.List events
        end local 3 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
        end local 2 // org.graalvm.polyglot.Engine engine
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   51     0              this  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest;
            1   51     1            source  Lorg/graalvm/polyglot/Source;
            2   51     2            engine  Lorg/graalvm/polyglot/Engine;
            3   51     3  contextsListener  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$TestContextsListener;
            4   51     4            events  Ljava/util/List<Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$ContextEvent;>;
            5   51     5       numContexts  I
            6   51     6          debugger  Lcom/oracle/truffle/api/debug/Debugger;
            8   45     9           session  Lcom/oracle/truffle/api/debug/DebuggerSession;
           10   24    10                 i  I
           13   17    13           context  Lorg/graalvm/polyglot/Context;
           26   43    10       lastContext  Lcom/oracle/truffle/api/debug/DebugContext;
           27   42    11                 i  I
           29   40    12                ci  I
      Exception table:
        from    to  target  type
          13    15      16  any
          12    18      18  any
           8    43      44  any
           7    46      46  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testGetActiveContexts();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=14, args_size=1
        start local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
         0: .line 181
            iconst_1
            anewarray com.oracle.truffle.api.debug.DebuggerSession
            astore 1 /* sessionPtr */
        start local 1 // com.oracle.truffle.api.debug.DebuggerSession[] sessionPtr
         1: .line 182
            aconst_null
            astore 2
            aconst_null
            astore 3
         2: invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
            astore 4 /* engine */
        start local 4 // org.graalvm.polyglot.Engine engine
         3: .line 183
            new com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener
            dup
            invokespecial com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.<init>:()V
            astore 5 /* contextsListener */
        start local 5 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
         4: .line 184
            aload 5 /* contextsListener */
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.events:Ljava/util/List;
            astore 6 /* events */
        start local 6 // java.util.List events
         5: .line 185
            aload 4 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.getInstruments:()Ljava/util/Map;
            ldc "debugger"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Instrument
            ldc Lcom/oracle/truffle/api/debug/Debugger;
            invokevirtual org.graalvm.polyglot.Instrument.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.Debugger
            astore 7 /* debugger */
        start local 7 // com.oracle.truffle.api.debug.Debugger debugger
         6: .line 186
            aconst_null
            astore 8
            aconst_null
            astore 9
         7: aload 7 /* debugger */
            new com.oracle.truffle.api.debug.test.DebuggerContextsTest$1
            dup
            aload 0 /* this */
            aload 1 /* sessionPtr */
            aload 5 /* contextsListener */
            aload 6 /* events */
            invokespecial com.oracle.truffle.api.debug.test.DebuggerContextsTest$1.<init>:(Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest;[Lcom/oracle/truffle/api/debug/DebuggerSession;Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$TestContextsListener;Ljava/util/List;)V
            invokevirtual com.oracle.truffle.api.debug.Debugger.startSession:(Lcom/oracle/truffle/api/debug/SuspendedCallback;)Lcom/oracle/truffle/api/debug/DebuggerSession;
            astore 10 /* session */
        start local 10 // com.oracle.truffle.api.debug.DebuggerSession session
         8: .line 198
            aload 10 /* session */
            aload 5 /* contextsListener */
            iconst_1
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.setContextsListener:(Lcom/oracle/truffle/api/debug/DebugContextsListener;Z)V
         9: .line 199
            aconst_null
            astore 11
            aconst_null
            astore 12
        10: iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 4 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 13 /* context */
        start local 13 // org.graalvm.polyglot.Context context
        11: .line 200
            aload 13 /* context */
            ldc "instrumentation-test-language"
            ldc "STATEMENT()"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
        12: .line 201
            ldc 3
            aload 6 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        13: .line 203
            aload 6 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        14: .line 204
            aload 6 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        15: .line 205
            aload 6 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        16: .line 206
            aload 6 /* events */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        17: .line 207
            aload 6 /* events */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        18: .line 208
            aload 6 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageInitialized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        19: .line 209
            aload 13 /* context */
            ifnull 25
            aload 13 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 25
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest com.oracle.truffle.api.debug.DebuggerSession[] java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Engine com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List com.oracle.truffle.api.debug.Debugger java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        20: astore 11
            aload 13 /* context */
            ifnull 21
            aload 13 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 13 // org.graalvm.polyglot.Context context
      StackMap locals:
      StackMap stack:
        21: aload 11
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        22: astore 12
            aload 11
            ifnonnull 23
            aload 12
            astore 11
            goto 24
      StackMap locals:
      StackMap stack:
        23: aload 11
            aload 12
            if_acmpeq 24
            aload 11
            aload 12
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        24: aload 11
            athrow
        25: .line 210
      StackMap locals:
      StackMap stack:
            ldc 6
            aload 6 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        26: .line 211
            aload 10 /* session */
            aconst_null
            iconst_1
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.setContextsListener:(Lcom/oracle/truffle/api/debug/DebugContextsListener;Z)V
        27: .line 212
            aload 6 /* events */
            invokeinterface java.util.List.clear:()V
        28: .line 214
            aconst_null
            astore 11
            aconst_null
            astore 12
        29: iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 4 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 13 /* context */
        start local 13 // org.graalvm.polyglot.Context context
        30: .line 215
            aload 13 /* context */
            ldc "instrumentation-test-language"
            ldc "STATEMENT()"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
        31: .line 216
            aload 13 /* context */
            ldc "instrumentation-test-language"
            ldc "CONTEXT(STATEMENT())"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
        32: .line 217
            aload 13 /* context */
            ifnull 38
            aload 13 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 38
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest com.oracle.truffle.api.debug.DebuggerSession[] java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Engine com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List com.oracle.truffle.api.debug.Debugger java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        33: astore 11
            aload 13 /* context */
            ifnull 34
            aload 13 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 13 // org.graalvm.polyglot.Context context
      StackMap locals:
      StackMap stack:
        34: aload 11
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        35: astore 12
            aload 11
            ifnonnull 36
            aload 12
            astore 11
            goto 37
      StackMap locals:
      StackMap stack:
        36: aload 11
            aload 12
            if_acmpeq 37
            aload 11
            aload 12
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        37: aload 11
            athrow
        38: .line 218
      StackMap locals:
      StackMap stack:
            lconst_0
            aload 6 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        39: .line 219
            aload 1 /* sessionPtr */
            iconst_0
            aload 10 /* session */
            aastore
        40: .line 220
            aload 10 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.suspendNextExecution:()V
        41: .line 221
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 4 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 11 /* context */
        start local 11 // org.graalvm.polyglot.Context context
        42: .line 222
            aload 11 /* context */
            ldc "instrumentation-test-language"
            ldc "ROOT(CONTEXT(EXPRESSION()), CONTEXT(STATEMENT))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
        end local 11 // org.graalvm.polyglot.Context context
        43: .line 223
            aload 10 /* session */
            ifnull 49
            aload 10 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
            goto 49
      StackMap locals:
      StackMap stack: java.lang.Throwable
        44: astore 8
            aload 10 /* session */
            ifnull 45
            aload 10 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
        end local 10 // com.oracle.truffle.api.debug.DebuggerSession session
      StackMap locals:
      StackMap stack:
        45: aload 8
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        46: astore 9
            aload 8
            ifnonnull 47
            aload 9
            astore 8
            goto 48
      StackMap locals:
      StackMap stack:
        47: aload 8
            aload 9
            if_acmpeq 48
            aload 8
            aload 9
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        48: aload 8
            athrow
        end local 7 // com.oracle.truffle.api.debug.Debugger debugger
        end local 6 // java.util.List events
        end local 5 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
        49: .line 224
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest com.oracle.truffle.api.debug.DebuggerSession[] java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Engine
      StackMap stack:
            aload 4 /* engine */
            ifnull 55
            aload 4 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
            goto 55
      StackMap locals:
      StackMap stack: java.lang.Throwable
        50: astore 2
            aload 4 /* engine */
            ifnull 51
            aload 4 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
        end local 4 // org.graalvm.polyglot.Engine engine
      StackMap locals:
      StackMap stack:
        51: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        52: astore 3
            aload 2
            ifnonnull 53
            aload 3
            astore 2
            goto 54
      StackMap locals:
      StackMap stack:
        53: aload 2
            aload 3
            if_acmpeq 54
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        54: aload 2
            athrow
        55: .line 225
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.oracle.truffle.api.debug.DebuggerSession[] sessionPtr
        end local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   56     0              this  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest;
            1   56     1        sessionPtr  [Lcom/oracle/truffle/api/debug/DebuggerSession;
            3   51     4            engine  Lorg/graalvm/polyglot/Engine;
            4   49     5  contextsListener  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$TestContextsListener;
            5   49     6            events  Ljava/util/List<Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$ContextEvent;>;
            6   49     7          debugger  Lcom/oracle/truffle/api/debug/Debugger;
            8   45    10           session  Lcom/oracle/truffle/api/debug/DebuggerSession;
           11   21    13           context  Lorg/graalvm/polyglot/Context;
           30   34    13           context  Lorg/graalvm/polyglot/Context;
           42   43    11           context  Lorg/graalvm/polyglot/Context;
      Exception table:
        from    to  target  type
          11    19      20  any
          10    22      22  any
          30    32      33  any
          29    35      35  any
           8    43      44  any
           7    46      46  any
           3    49      50  any
           2    52      52  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testInContextEval();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=14, args_size=1
        start local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
         0: .line 229
            aconst_null
            astore 1
            aconst_null
            astore 2
         1: invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
            astore 3 /* engine */
        start local 3 // org.graalvm.polyglot.Engine engine
         2: .line 230
            new com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener
            dup
            invokespecial com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.<init>:()V
            astore 4 /* contextsListener */
        start local 4 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
         3: .line 231
            aload 4 /* contextsListener */
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener.events:Ljava/util/List;
            astore 5 /* events */
        start local 5 // java.util.List events
         4: .line 232
            aload 3 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.getInstruments:()Ljava/util/Map;
            ldc "debugger"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Instrument
            ldc Lcom/oracle/truffle/api/debug/Debugger;
            invokevirtual org.graalvm.polyglot.Instrument.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.Debugger
            astore 6 /* debugger */
        start local 6 // com.oracle.truffle.api.debug.Debugger debugger
         5: .line 233
            aconst_null
            astore 7
            aconst_null
            astore 8
         6: aload 6 /* debugger */
            aconst_null
            invokevirtual com.oracle.truffle.api.debug.Debugger.startSession:(Lcom/oracle/truffle/api/debug/SuspendedCallback;)Lcom/oracle/truffle/api/debug/DebuggerSession;
            astore 9 /* session */
        start local 9 // com.oracle.truffle.api.debug.DebuggerSession session
         7: .line 234
            aload 9 /* session */
            aload 4 /* contextsListener */
            iconst_0
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.setContextsListener:(Lcom/oracle/truffle/api/debug/DebugContextsListener;Z)V
         8: .line 235
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 3 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 10 /* context */
        start local 10 // org.graalvm.polyglot.Context context
         9: .line 236
            getstatic com.oracle.truffle.api.debug.test.DebuggerContextsTest.$assertionsDisabled:Z
            ifne 10
            aload 10 /* context */
            ifnonnull 10
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        10: .line 237
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Engine com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List com.oracle.truffle.api.debug.Debugger java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession org.graalvm.polyglot.Context
      StackMap stack:
            lconst_1
            aload 5 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        11: .line 238
            aload 5 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        12: .line 239
            aload 5 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            astore 11 /* dc */
        start local 11 // com.oracle.truffle.api.debug.DebugContext dc
        13: .line 240
            aload 11 /* dc */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        14: .line 241
            aload 5 /* events */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        15: .line 243
            aload 11 /* dc */
            ldc "VARIABLE(a, 10)"
            ldc "instrumentation-test-language"
            invokevirtual com.oracle.truffle.api.debug.DebugContext.evaluate:(Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/truffle/api/debug/DebugValue;
            astore 12 /* result */
        start local 12 // com.oracle.truffle.api.debug.DebugValue result
        16: .line 244
            ldc 3
            aload 5 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        17: .line 245
            aload 5 /* events */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        18: .line 246
            ldc "instrumentation-test-language"
            aload 5 /* events */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokevirtual com.oracle.truffle.api.nodes.LanguageInfo.getId:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        19: .line 247
            aload 5 /* events */
            iconst_2
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageInitialized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        20: .line 248
            aload 11 /* dc */
            aload 12 /* result */
            invokedynamic get(Lcom/oracle/truffle/api/debug/DebugValue;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  com/oracle/truffle/api/debug/test/DebuggerContextsTest.lambda$1(Lcom/oracle/truffle/api/debug/DebugValue;)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokevirtual com.oracle.truffle.api.debug.DebugContext.runInContext:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 13 /* type */
        start local 13 // java.lang.String type
        21: .line 253
            ldc "Integer"
            aload 13 /* type */
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        22: .line 254
            ldc 3
            aload 5 /* events */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        end local 13 // java.lang.String type
        end local 12 // com.oracle.truffle.api.debug.DebugValue result
        end local 11 // com.oracle.truffle.api.debug.DebugContext dc
        end local 10 // org.graalvm.polyglot.Context context
        23: .line 255
            aload 9 /* session */
            ifnull 29
            aload 9 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
            goto 29
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Engine com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener java.util.List com.oracle.truffle.api.debug.Debugger java.lang.Throwable java.lang.Throwable com.oracle.truffle.api.debug.DebuggerSession
      StackMap stack: java.lang.Throwable
        24: astore 7
            aload 9 /* session */
            ifnull 25
            aload 9 /* session */
            invokevirtual com.oracle.truffle.api.debug.DebuggerSession.close:()V
        end local 9 // com.oracle.truffle.api.debug.DebuggerSession session
      StackMap locals:
      StackMap stack:
        25: aload 7
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        26: astore 8
            aload 7
            ifnonnull 27
            aload 8
            astore 7
            goto 28
      StackMap locals:
      StackMap stack:
        27: aload 7
            aload 8
            if_acmpeq 28
            aload 7
            aload 8
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        28: aload 7
            athrow
        end local 6 // com.oracle.truffle.api.debug.Debugger debugger
        end local 5 // java.util.List events
        end local 4 // com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener contextsListener
        29: .line 256
      StackMap locals: com.oracle.truffle.api.debug.test.DebuggerContextsTest java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Engine
      StackMap stack:
            aload 3 /* engine */
            ifnull 35
            aload 3 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
            goto 35
      StackMap locals:
      StackMap stack: java.lang.Throwable
        30: astore 1
            aload 3 /* engine */
            ifnull 31
            aload 3 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
        end local 3 // org.graalvm.polyglot.Engine engine
      StackMap locals:
      StackMap stack:
        31: aload 1
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        32: astore 2
            aload 1
            ifnonnull 33
            aload 2
            astore 1
            goto 34
      StackMap locals:
      StackMap stack:
        33: aload 1
            aload 2
            if_acmpeq 34
            aload 1
            aload 2
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        34: aload 1
            athrow
        35: .line 257
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.api.debug.test.DebuggerContextsTest this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   36     0              this  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest;
            2   31     3            engine  Lorg/graalvm/polyglot/Engine;
            3   29     4  contextsListener  Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$TestContextsListener;
            4   29     5            events  Ljava/util/List<Lcom/oracle/truffle/api/debug/test/DebuggerContextsTest$ContextEvent;>;
            5   29     6          debugger  Lcom/oracle/truffle/api/debug/Debugger;
            7   25     9           session  Lcom/oracle/truffle/api/debug/DebuggerSession;
            9   23    10           context  Lorg/graalvm/polyglot/Context;
           13   23    11                dc  Lcom/oracle/truffle/api/debug/DebugContext;
           16   23    12            result  Lcom/oracle/truffle/api/debug/DebugValue;
           21   23    13              type  Ljava/lang/String;
      Exception table:
        from    to  target  type
           7    23      24  any
           6    26      26  any
           2    29      30  any
           1    32      32  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static void lambda$0(java.util.List, com.oracle.truffle.api.debug.SuspendedEvent);
    descriptor: (Ljava/util/List;Lcom/oracle/truffle/api/debug/SuspendedEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=2, args_size=2
        start local 1 // com.oracle.truffle.api.debug.SuspendedEvent event
         0: .line 79
            ldc 2
            aload 0
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         1: .line 80
            aload 0
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 81
            ldc "instrumentation-test-language"
            aload 0
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.language:Lcom/oracle/truffle/api/nodes/LanguageInfo;
            invokevirtual com.oracle.truffle.api.nodes.LanguageInfo.getId:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         3: .line 82
            aload 0
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.context:Lcom/oracle/truffle/api/debug/DebugContext;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         4: .line 83
            aload 0
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent
            getfield com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent.languageInitialized:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 84
            return
        end local 1 // com.oracle.truffle.api.debug.SuspendedEvent event
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     1  event  Lcom/oracle/truffle/api/debug/SuspendedEvent;

  private static java.lang.String lambda$1(com.oracle.truffle.api.debug.DebugValue);
    descriptor: (Lcom/oracle/truffle/api/debug/DebugValue;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=1
         0: .line 249
            ldc "10"
            aload 0
            invokevirtual com.oracle.truffle.api.debug.DebugValue.toDisplayString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         1: .line 250
            aload 0
            invokevirtual com.oracle.truffle.api.debug.DebugValue.getMetaObject:()Lcom/oracle/truffle/api/debug/DebugValue;
            astore 1 /* metaObj */
        start local 1 // com.oracle.truffle.api.debug.DebugValue metaObj
         2: .line 251
            aload 1 /* metaObj */
            invokevirtual com.oracle.truffle.api.debug.DebugValue.getMetaQualifiedName:()Ljava/lang/String;
            areturn
        end local 1 // com.oracle.truffle.api.debug.DebugValue metaObj
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            2    3     1  metaObj  Lcom/oracle/truffle/api/debug/DebugValue;
}
SourceFile: "DebuggerContextsTest.java"
NestMembers:
  com.oracle.truffle.api.debug.test.DebuggerContextsTest$1  com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent  com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener
InnerClasses:
  com.oracle.truffle.api.debug.test.DebuggerContextsTest$1
  private ContextEvent = com.oracle.truffle.api.debug.test.DebuggerContextsTest$ContextEvent of com.oracle.truffle.api.debug.test.DebuggerContextsTest
  private TestContextsListener = com.oracle.truffle.api.debug.test.DebuggerContextsTest$TestContextsListener of com.oracle.truffle.api.debug.test.DebuggerContextsTest
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context