Closed
Bug 1858076
Opened 2 years ago
Closed 2 years ago
Provide mapped variables info in the console panel when mapping variables is disabled.
Categories
(DevTools :: Console, enhancement)
DevTools
Console
Tracking
(firefox121 fixed)
RESOLVED
FIXED
121 Branch
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: bomsy, Assigned: bomsy)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Following on from Bug 1856270
- Show message in the console panel which lets the users know that they need to turn on the "map variables" checkbox (in the scopes panel) to properly evaluate console expressions which involve mapped variables in original files.
Assignee | ||
Updated•2 years ago
|
Component: Debugger → Console
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D190814
Updated•2 years ago
|
Assignee: nobody → hmanilla
Attachment #9359668 -
Attachment description: WIP: Bug 1858076 - [devtools] Show notification in the console when original variable mapping is disabled → Bug 1858076 - [devtools] Show notification in the console when original variable mapping is disabled r=#devtools-reviewers
Status: NEW → ASSIGNED
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/492052d366fe
[devtools] Show notification in the console when original variable mapping is disabled r=devtools-reviewers,nchevobbe
Comment 3•2 years ago
|
||
Backed out for causing dt failures on browser_dbg-reducer-cleanup-on-target-removal.js.
[task 2023-11-06T15:35:36.155Z] 15:35:36 INFO - TEST-PASS | devtools/client/debugger/test/mochitest/browser_dbg-reducer-cleanup-on-target-removal.js | a new breakpoint was created -
[task 2023-11-06T15:35:36.155Z] 15:35:36 INFO - Waiting for the debugger to pause
[task 2023-11-06T15:35:36.156Z] 15:35:36 INFO - Waiting for state change: paused
[task 2023-11-06T15:35:36.157Z] 15:35:36 INFO - Finished waiting for state change: paused
[task 2023-11-06T15:35:36.158Z] 15:35:36 INFO - Waiting for state change: fetched frames
[task 2023-11-06T15:35:36.159Z] 15:35:36 INFO - Finished waiting for state change: fetched frames
[task 2023-11-06T15:35:36.160Z] 15:35:36 INFO - Buffered messages finished
[task 2023-11-06T15:35:36.161Z] 15:35:36 INFO - TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-reducer-cleanup-on-target-removal.js | Test timed out -
[task 2023-11-06T15:35:36.184Z] 15:35:36 INFO - Removing tab.
[task 2023-11-06T15:35:36.187Z] 15:35:36 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2023-11-06T15:35:36.194Z] 15:35:36 INFO - Got event: 'TabClose' on [object XULElement].
[task 2023-11-06T15:35:36.207Z] 15:35:36 INFO - Tab removed and finished closing
[task 2023-11-06T15:35:36.219Z] 15:35:36 INFO - GECKO(2662) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2023-11-06T15:35:36.220Z] 15:35:36 INFO - GECKO(2662) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2023-11-06T15:35:36.221Z] 15:35:36 INFO - GECKO(2662) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2023-11-06T15:35:36.222Z] 15:35:36 INFO - GECKO(2662) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2023-11-06T15:35:36.222Z] 15:35:36 INFO - GECKO(2662) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2023-11-06T15:35:36.242Z] 15:35:36 INFO - TEST-PASS | devtools/client/debugger/test/mochitest/browser_dbg-reducer-cleanup-on-target-removal.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2023-11-06T15:35:36.246Z] 15:35:36 INFO - finish() was called, cleaning up and clearing debugger preferences...
[task 2023-11-06T15:35:36.247Z] 15:35:36 INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2023-11-06T15:35:36.250Z] 15:35:36 INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2023-11-06T15:35:36.250Z] 15:35:36 INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2023-11-06T15:35:36.251Z] 15:35:36 INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2023-11-06T15:35:36.254Z] 15:35:36 INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2023-11-06T15:35:36.255Z] 15:35:36 INFO - GECKO(2662) | JavaScript error: , line 0: TimeoutError: Message handler threw uncatchable exception
[task 2023-11-06T15:35:36.274Z] 15:35:36 INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-06T15:35:36.277Z] 15:35:36 INFO - TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-reducer-cleanup-on-target-removal.js | A promise chain failed to handle a rejection: Message handler threw uncatchable exception - stack: (No stack available.)
[task 2023-11-06T15:35:36.279Z] 15:35:36 INFO - Rejection date: Mon Nov 06 2023 15:35:36 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":591,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":552,"lineNumber":769,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":552,"lineNumber":1440,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":552,"lineNumber":1382,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":552,"lineNumber":1123,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":582,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1382:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*timeoutFn@chrome://mochikit/content/browser-test.js:1440:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1382:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"nextTest@chrome://mochikit/content/browser-test.js:769:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1440:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1382:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nnextTest@chrome://mochikit/content/browser-test.js:769:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1440:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1382:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-11-06T15:35:36.279Z] 15:35:36 INFO - Stack trace:
[task 2023-11-06T15:35:36.279Z] 15:35:36 INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-11-06T15:35:36.279Z] 15:35:36 INFO - chrome://mochikit/content/browser-test.js:nextTest:769
[task 2023-11-06T15:35:36.280Z] 15:35:36 INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1440
[task 2023-11-06T15:35:36.280Z] 15:35:36 INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1382
[task 2023-11-06T15:35:36.280Z] 15:35:36 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1123
[task 2023-11-06T15:35:36.280Z] 15:35:36 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-11-06T15:35:36.280Z] 15:35:36 INFO - Console message: [JavaScript Error: "TimeoutError: Message handler threw uncatchable exception"]
[task 2023-11-06T15:35:36.571Z] 15:35:36 INFO - GECKO(2662) | MEMORY STAT | vsize 3975MB | residentFast 646MB | heapAllocated 341MB
[task 2023-11-06T15:35:36.572Z] 15:35:36 INFO - TEST-OK | devtools/client/debugger/test/mochitest/browser_dbg-reducer-cleanup-on-target-removal.js | took 45729ms
[task 2023-11-06T15:35:36.593Z] 15:35:36 INFO - checking window state
[task 2023-11-06T15:35:36.632Z] 15:35:36 INFO - TEST-START | devtools/client/debugger/test/mochitest/browser_dbg-remember-expanded-scopes.js
Flags: needinfo?(hmanilla)
Comment 4•2 years ago
|
||
We also have damp failures that might be related to this bug: https://treeherder.mozilla.org/logviewer?job_id=435182152&repo=autoland
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/569b6a151d3e
[devtools] Show notification in the console when original variable mapping is disabled r=devtools-reviewers,nchevobbe
Comment 6•2 years ago
|
||
Backed out for causing talos damp failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/487675f33332d3d5d202d0bf2c30c1a819e8e0c7
Failure log -> TEST-UNEXPECTED-FAIL | damp | debugger/custom.js: Test timed out
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e0fe7816165c
[devtools] Show notification in the console when original variable mapping is disabled r=devtools-reviewers,nchevobbe
Comment 8•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(hmanilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•