Skip to content

Commit

Permalink
Add comment for backslash normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianKroiss committed Jan 13, 2025
1 parent 40693b1 commit 578a9bf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ private boolean match(IDocument document, DSPStackFrame frame) {
if (uri == null)
return false;

// Convert sourceElement to a URI to normalize potential backslashes in the
// path. This can be necessary on Windows.
final URI sourceUri;
try {
sourceUri = Paths.get(sourceElement).toUri();
Expand Down

0 comments on commit 578a9bf

Please sign in to comment.