Stepping out of async function doesn't work properly
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: Honza, Assigned: jlast)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
STR:
- Open DevTools Toolbox & Debugger
- Load: http://janodvarko.cz/tests/debugger/async-callstacks/
- Click on button from Test case #1 -> you should pause the JS execution
- Click Step out -> the JS execution is resumed => BUG
Expected result:
The debugger should pause on line 7 => console.log(data);
, which is the line next the the loadData
function call.
Honza
Reporter | ||
Comment 1•6 years ago
|
||
Jason, you mentioned that you want to work on this.
Here is a nice & simple test case.
Honza
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Backed out for failures on test_stepping-12.js
backout: https://hg.mozilla.org/integration/autoland/rev/c3ac91c63eeb6037e6c07591d198460703e92279
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=303150981&repo=autoland&lineNumber=3058
[task 2020-05-20T20:35:47.175Z] 20:35:47 INFO - TEST-START | devtools/server/tests/xpcshell/test_stepping-12.js
[task 2020-05-20T20:40:47.179Z] 20:40:47 WARNING - TEST-UNEXPECTED-TIMEOUT | devtools/server/tests/xpcshell/test_stepping-12.js | Test timed out
[task 2020-05-20T20:40:47.180Z] 20:40:47 INFO - TEST-INFO took 300000ms
[task 2020-05-20T20:40:47.184Z] 20:40:47 INFO - >>>>>>>
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - running event loop
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - devtools/server/tests/xpcshell/test_stepping-12.js | Starting
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - (xpcshell/head.js) | test pending (2)
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - PID 19016 | >>> Run thread front test against a regular DevToolsServer
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - TEST-PASS | devtools/server/tests/xpcshell/test_stepping-12.js | - Thread client is paused - "paused" == "paused"
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - TEST-PASS | devtools/server/tests/xpcshell/test_stepping-12.js | - true == true
[task 2020-05-20T20:40:47.185Z] 20:40:47 INFO - TEST-PASS | devtools/server/tests/xpcshell/test_stepping-12.js | - "attached" == "attached"
Comment 6•5 years ago
|
||
bugherder |
Reporter | ||
Updated•4 years ago
|
Description
•