dotnet / dotnet/vscode-csharp

Debugger does not format messages with path names correctly in cross platform scenarios.

Open
#1,893 1 comment 0 reactions 0 assignees View on GitHub
Bug Debugger OmniSharp
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

There are a few instances where the debugger does not handle cross platform paths correctly. This can arise if an app is built on Windows and debugged on Linux/Mac (or vice versa). The paths coming from the pdb will not be the native path form of the machine (i.e. the pdb would contain Windows paths and the app is being debugged on linux). System.IO.Path apis such as GetFileName will fail to parse the windows paths because the API expects native paths.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.