step-out-async-await-expected.txt 814 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
StepOut from return position of async function.

Running test: testStepInto
      p.then(() => 1);
      #debugger;
      return p;

      debugger;
      #return p;
    }

12 13 14
      debugger;
      return p;#
    }
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

      await p;
      p.then(() => #1);
      debugger;


Running test: testStepOver
      p.then(() => 1);
      #debugger;
      return p;

      debugger;
      #return p;
    }

30 31 32
      debugger;
      return p;#
    }
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55

      await p;
      p.then(() => #1);
      debugger;

      await p;
      p.then(() => 1#);
      debugger;

    await foo();
  #}



Running test: testStepOut
      p.then(() => 1);
      #debugger;
      return p;

      debugger;
      #return p;
    }

56 57 58
      debugger;
      return p;#
    }
59 60 61 62 63 64 65 66 67

      await p;
      p.then(() => #1);
      debugger;

    await foo();
  #}