Skip to content

Commit

Permalink
windows breakpoint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Mar 24, 2023
1 parent f35e0b9 commit 60d9856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dap/src/dsdap.ts
Expand Up @@ -844,7 +844,7 @@ export class DsDapSession extends DebugSession {

private findSource(src: DebugProtocol.Source) {
function normPath(p: string) {
return p.replace(/\\/g, "/")
return p.replace(/\\/g, "/").toLowerCase()
}
if (src.sourceReference) return src.sourceReference - 1
const srcIdx = this.img.dbg.sources.findIndex(
Expand Down

0 comments on commit 60d9856

Please sign in to comment.