set-async-call-stack-depth-expected.txt 732 Bytes
Newer Older
1 2 3
Checks that we report not more then maxDepth call chains.

Running test: testPaused
4
Actual call chain length: 4
5
setAsyncCallStackDepth(maxDepth): 8
6 7 8 9 10
reported: 4

Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 4
reported: 4
11

12 13 14
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 3
reported: 3
15

16
Actual call chain length: 4
17 18 19 20 21
setAsyncCallStackDepth(maxDepth): 0
reported: 0


Running test: testConsoleTrace
22
Actual call chain length: 4
23
setAsyncCallStackDepth(maxDepth): 8
24 25 26 27 28
reported: 4

Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 4
reported: 4
29

30 31 32
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 3
reported: 3
33

34
Actual call chain length: 4
35 36 37
setAsyncCallStackDepth(maxDepth): 0
reported: 0