Closed
Bug 1903536
Opened 2 years ago
Closed 2 years ago
"Ranges must be added sorted" error when switching between different frames in the callstack panel
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: nchevobbe, Unassigned)
References
(Blocks 1 open bug)
Details
Steps to reproduce
- Go to https://nchevobbe.github.io/demo/console-test-app.html
- Open the debugger
- Open the
console-test-animation.jsfile - Add a breakpoint on line 52
- Click on the
console.logbutton in the page to hit the breakpoint - In the call stack panel, select the first
updateframe, and then theparticlesone, and repeat the operation multiple time, switching fromupdatetoparticles
Actual results
It doesn't happen straight away, but at some point, this is triggering error message:
CodeMirror plugin crashed: Error: Ranges must be added sorted by `from` position and `startSide`
addInner resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs:1
add resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs:1
buildDecorations resource://devtools/client/shared/sourceeditor/editor.js:750
<anonymous> resource://devtools/client/shared/sourceeditor/editor.js:775
fromClass resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs:1
update resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs:1
updatePlugins resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs:1
update resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs:1
dispatchTransactions resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs:1
dispatch resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs:1
setLineContentMarker resource://devtools/client/shared/sourceeditor/editor.js:932
renderInlinePreviewMarker resource://devtools/client/debugger/src/components/Editor/InlinePreviews.js:85
componentDidUpdate resource://devtools/client/debugger/src/components/Editor/InlinePreviews.js:62
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P2
| Reporter | ||
Updated•2 years ago
|
Blocks: cm-debugger-next
Comment 1•2 years ago
|
||
I can't seem to reproduce this error. I think it might be fixed by Bug 1898157
Nicholas, can you confirm you still see this?
Flags: needinfo?(nchevobbe)
| Reporter | ||
Comment 2•2 years ago
|
||
yeah, it seems to be fixed 👍 Let's close this bug
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(nchevobbe)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•