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

Running test: testPaused
Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 16
6
reported: 1
7 8 9

Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 8
10
reported: 1
11 12 13

Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 7
14
reported: 1
15 16 17 18 19 20 21 22 23

Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 0
reported: 0


Running test: testConsoleTrace
Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 16
24
reported: 1
25 26 27

Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 8
28
reported: 1
29 30 31

Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 7
32
reported: 1
33 34 35 36 37

Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 0
reported: 0