Skip to content

Conversation

@captainflasmr
Copy link

Add normalize-path-separator option for path separator normalization

Some debug adapters require exact path matching with symbol files that
may use different path separators than Emacs. This is particularly
important for netcoredbg on Windows, where PDB files contain backslash
separators but Emacs uses forward slashes.

The new normalize-path-separator configuration option allows users to
specify path separator normalization:

  • 'windows: Convert forward slashes to backslashes
  • 'unix: Convert backslashes to forward slashes
  • nil (default): No normalization

This ensures breakpoints can be properly verified by debug adapters
that perform strict path matching.

Fixes: Issue where netcoredbg on Windows fails to verify breakpoints
due to path separator mismatch between Emacs (/) and PDB symbols ().

Add normalize-path-separator option for path handling
Added documentation for netcoredbg debugger configuration.
@svaante
Copy link
Owner

svaante commented Dec 8, 2025

Hey and thank you for your contribution.

This looks great! What is your FSF assignment status? If done I think we can merge this as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants