Closed Bug 1766713 Opened 3 years ago Closed 3 years ago

Debugger panel crash (TypeError: ids is undefined)

Categories

(DevTools :: Debugger, defect)

Firefox 100
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1748222

People

(Reporter: kiddm_mozilla, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

Not clear what happen. Just reporting the issue because there is a big blue "File Bug Report" under the the text "The Debugger panel has crashed."

I had just reloaded an add-on I am developing. There was an exception from one of the pages that gets reloaded when the add-on is reloaded. I hit the continue execution button in the debugger and then the debugger panel crashed.

Actual results:

TypeError: ids is undefined

React Component Stack
componentStack
in Connect(EmptyLines)
in div
in div
in Editor
in Connect(Editor)
in div
in div
in div
in div
in SplitBox
in div
in div
in SplitBox
in div
in A11yIntention
in AppErrorBoundary
in div
in App
in Connect(App)
in Provider
in Provider

Stacktrace

makeResourceQuery/<@resource://devtools/client/debugger/src/utils/resource/base-query.js:31:20
makeCacheFunction/<@resource://devtools/client/debugger/src/utils/resource/query-cache.js:84:29
getBreakableLines@resource://devtools/client/debugger/src/selectors/sources.js:379:61
getSelectedBreakableLines<@resource://devtools/client/debugger/src/selectors/sources.js:384:22
createSelectorCreator/createSelector/selector<@resource://devtools/client/shared/vendor/reselect.js:228:39
memoized@resource://devtools/client/shared/vendor/reselect.js:129:22
mapStateToProps@resource://devtools/client/debugger/src/components/Editor/EmptyLines.js:69:67
mapToPropsProxy@resource://devtools/client/shared/vendor/react-redux.js:1776:92
detectFactoryAndVerify@resource://devtools/client/shared/vendor/react-redux.js:1785:24
mapToPropsProxy@resource://devtools/client/shared/vendor/react-redux.js:1776:46
handleFirstCall@resource://devtools/client/shared/vendor/react-redux.js:1911:18
pureFinalPropsSelector@resource://devtools/client/shared/vendor/react-redux.js:1959:81
runComponentSelector@resource://devtools/client/shared/vendor/react-redux.js:1233:39
initSelector@resource://devtools/client/shared/vendor/react-redux.js:1385:23
Connect@resource://devtools/client/shared/vendor/react-redux.js:1326:15
constructClassInstance@resource://devtools/client/shared/vendor/react-dom.js:8270:18
updateClassComponent@resource://devtools/client/shared/vendor/react-dom.js:10592:27
beginWork@resource://devtools/client/shared/vendor/react-dom.js:11419:16
performUnitOfWork@resource://devtools/client/shared/vendor/react-dom.js:14702:12
workLoop@resource://devtools/client/shared/vendor/react-dom.js:14720:24
renderRoot@resource://devtools/client/shared/vendor/react-dom.js:14803:15
performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom.js:15655:17
performWork@resource://devtools/client/shared/vendor/react-dom.js:15567:24
performSyncWork@resource://devtools/client/shared/vendor/react-dom.js:15541:14
requestWork@resource://devtools/client/shared/vendor/react-dom.js:15410:5
scheduleWork@resource://devtools/client/shared/vendor/react-dom.js:15224:16
enqueueSetState@resource://devtools/client/shared/vendor/react-dom.js:8192:17
Component.prototype.setState@resource://devtools/client/shared/vendor/react.js:328:16
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1412:16
dispatch@resource://devtools/client/shared/vendor/redux.js:265:7
waitUntilService/</<@resource://devtools/client/debugger/src/actions/utils/middleware/wait-service.js:71:24
promiseMiddleware/</<@resource://devtools/client/debugger/src/actions/utils/middleware/promise.js:39:14
context/</<@resource://devtools/client/debugger/src/actions/utils/middleware/context.js:35:12
thunk/</</<@resource://devtools/client/debugger/src/actions/utils/middleware/thunk.js:29:100
dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
addSources/<@resource://devtools/client/debugger/src/actions/sources/newSources.js:334:13
thunk/</</<@resource://devtools/client/debugger/src/actions/utils/middleware/thunk.js:29:45
dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
newGeneratedSources/<@resource://devtools/client/debugger/src/actions/sources/newSources.js:296:13
thunk/</</<@resource://devtools/client/debugger/src/actions/utils/middleware/thunk.js:29:45
bindActionCreator/<@resource://devtools/client/shared/vendor/redux.js:520:12
onSourceAvailable@resource://devtools/client/debugger/src/client/firefox.js:172:17
_notifyWatchers@resource://devtools/shared/commands/resource/resource-command.js:792:24
later@resource://devtools/shared/throttle.js:33:19
notify@resource://gre/modules/Timer.jsm:62:17

Thanks for reporting Matthew!

The resource layer causing this issue has been removed in Bug 1748222 which released as part of
Firefox 101 which is Nightly right now. Could you try to download Firefox Nightly and test to see if you
still get the issue.

Flags: needinfo?(kiddm_mozilla)

I don't have a clear way to reproduce the issue. I've been developing my BBO Helper add-on steadily since reporting this issue and have not encountered the problem again.

Flags: needinfo?(kiddm_mozilla)

Thanks.
I'll close the issue. Feel free to reopen if you get the same issue.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.