Some issue with highlighting of the line being debugged in the ace editor
Open
ngxingyu
opened this issue 3 years ago
•
0 comments
When the line being debugged is not in the screen (below the last visible line), the DOM node for that line of code doesn't exist, so it throws the following error TypeError: Cannot read properties of undefined (reading 'classList') at Object.highlightLine (inspector.js:27:27)
When the line being debugged is highlighted, scrolling that line out of the screen and back in the screen causes the highlighting to disappear
becomes
To reproduce: just add many empty lines and debugger; below, and run and try the 2 scenarios above