blob: 1b92806a9d80c62e95501498ab02a6f11f69cc98 [file] [log] [blame]
Checks that we report not more then maxDepth call chains.
Running test: testPaused
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 8
reported: 4
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 4
reported: 4
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 3
reported: 3
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 0
reported: 0
Running test: testConsoleTrace
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 8
reported: 4
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 4
reported: 4
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 3
reported: 3
Actual call chain length: 4
setAsyncCallStackDepth(maxDepth): 0
reported: 0