You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file paths which get stored with the breakpoints have a lowercase drive letter when set pre-attach.
Breakpoints set post-attach have uppercase drive letters.
The file path that's compared against in getBreakpointsForFile() has an uppercase drive letter.
This causes the string compare in getBreakpointsForFile() to fail on breakpoints set pre-attach.
Ultimately the duktape debugger still sees these breakpoints even though vscode doesn't and acts on them accordingly (there's also no way to clear them since vscode doesn't see them).
Temp solution on my fork is just doing .toLowerCase() during the comparison but it's obviously not optimal.
The text was updated successfully, but these errors were encountered:
Interesting. I can't seem to reproduce this anymore with either the current version of your debugger or the previous. Last time I experienced it was the 22nd of December.
Ah, I see what happened now. I went back to the original project folder that I first used the debugger for and the problem returned. The issue is me entering a full path for the localRoot config variable, rather than using ${workspaceRoot}. I wrote "C:/Users/..." and that's what's making the difference with the drive letter.
The file paths which get stored with the breakpoints have a lowercase drive letter when set pre-attach.
Breakpoints set post-attach have uppercase drive letters.
The file path that's compared against in getBreakpointsForFile() has an uppercase drive letter.
This causes the string compare in getBreakpointsForFile() to fail on breakpoints set pre-attach.
Ultimately the duktape debugger still sees these breakpoints even though vscode doesn't and acts on them accordingly (there's also no way to clear them since vscode doesn't see them).
Temp solution on my fork is just doing .toLowerCase() during the comparison but it's obviously not optimal.
The text was updated successfully, but these errors were encountered: