Open
Bug 1552331
Opened 5 years ago
Updated 2 years ago
Column breakpoint markers can render in the wrong place on lines containing non-BMP unicode chars
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
NEW
People
(Reporter: loganfsmyth, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
13.80 KB,
image/png
|
Details |
Column breakpoint offsets appear to be codeunit-indexed, but column offsets are codepoint-indexed, so they render in the wrong place.
This is probably due to using Codemirror's column offsets, which appear to also be codeunit-indexed. Looks like we'd have to explore fixes to work around that.
Given code like
"😋😋😋😋";console.log("log3");
each smiley is treated as 2 columns wide, so the you get what you see in the attached image.
Updated•5 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•