anchor.diff:                    "should stop at debugger() after exception.\n"
                     "Probably the second resumed even though it was not expect "
                     "to do it.");
  -          expect(c.isolate.id, equals(vm.isolates[0].id),
  +          expect(c.isolate.id, equals(firstIsolate.id),
                 reason: "First "
                     "isolate should stop at debugger() after exception.\n"
                     "Probably the second resumed even though it was not expect "
  
positive.code: }
  
  var tests = [
    (VM vm) async {
      await vm.load();
      bool started = false;
      int step = 0;
      var completer = new Completer();
      var sub;
      await hasPausedAtStart(vm.isolates[0]);
      sub = await vm.listenEventStream("Debug", (ServiceEvent c) {
        switch (step) {
          case 0:
            expect(c.kind, equals("Resume"),
                reason: "First isolate should resume");
            expect(c.isolate.id, equals(vm.isolates[0].id),
                reason: "First isolate should resume");
            break;
          case 1:
            expect(c.kind, equals("PauseStart"),
                reason: "Second isolate should pause on start");
            expect(c.isolate.id, equals(vm.isolates[1].id),
                reason: "Second isolate should pause on start");
            vm.isolates[1].resume();
            break;
          case 2:
            expect(c.kind, equals("Resume"),
                reason: "Second isolate should resume");
            expect(c.isolate.id, equals(vm.isolates[1].id),
                reason: "Second isolate should resume");
            break;
          case 3:
            expect(c.kind, equals("PauseBreakpoint"),
                reason: "First isolate should stop at debugger()");
            expect(c.isolate.id, equals(vm.isolates[0].id),
                reason: "First isolate should stop at debugger()");
            vm.isolates[0].resume();
            break;
          case 4:
            expect(c.kind, equals("Resume"),
                reason: "First isolate should resume (1)");
            expect(c.isolate.id, equals(vm.isolates[0].id),
                reason: "First isolate should resume (1)");
            break;
          case 5:
  
negative.code:         case 6:
            expect(c.kind, equals("PauseBreakpoint"),
                reason: "First & Second isolate should stop at debugger()");
            secondIsolate.resume();
            break;
          case 7:
            expect(c.kind, equals("Resume"),
                reason: "Second isolate should resume before the exception");
            expect(c.isolate.id, equals(secondIsolate.id),
                reason: "Second isolate should resume before the exception");
            break;
          case 8:
            expect(c.kind, equals("PauseExit"),
                reason: "Second isolate should exit at the exception");
            expect(c.isolate.id, equals(secondIsolate.id),
                reason: "Second isolate should exit at the exception");
            firstIsolate.resume();
            break;
          case 9:
            expect(c.kind, equals("Resume"),
                reason: "First isolate should resume after the exception");
            expect(c.isolate.id, equals(firstIsolate.id),
                reason: "First isolate should resume after the exception");
            break;
          case 10:
  