-
Notifications
You must be signed in to change notification settings - Fork 348
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Describe the bug
Setting breakpoint fails if certain unicode characters (e.g. 😊) are in the path. Stack trace:
Error processing setBreakpoints: URIError: URI malformed
at encodeURIComponent (<anonymous>)
at C (c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:1066907)
at O (c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:1067205)
at t.urlToRegex (c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:1067515)
at v.absolutePathToUrlRegexp (c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:1122884)
at l._setByPath (c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:797650)
at l.enable (c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:794119)
at c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:790310
at Array.map (<anonymous>)
at D.setBreakpoints (c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:790300)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at t.default._onMessage (c:\Users\aerie\.vscode-insiders\extensions\ms-vscode.js-debug-nightly-2022.8.417\src\extension.js:2:1078258)"
To Reproduce
index.html:
<head>
</head>
<body>
<h1>yay emojis</h1>
<script src="😊/test.js"></script>
</body>
test.js:
console.log('foo');
Log File
log.txt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded

