Skip to content

Conversation

@alt-romes
Copy link
Collaborator

@alt-romes alt-romes commented Sep 25, 2025

Fixes #79

TODO: Add test

Moves Development.Debug.Adapter.Flags to Development.Debug.Session.Setup
and creates 'hieBiosSetup', which is shared by the interactive and DAP
mode. This encapsulates the hie-bios setup mechanism.
Otherwise, we may accidentally add a special target which was already considered under a slightly different path (e.g. with a symlink). Then the two targets are considered separate and won't be deduplicated -- resulting in #79

Fixes #79
@alt-romes alt-romes changed the title Canonicalize special target Canonicalize special target and root Sep 26, 2025
Like in 6c0921d, it is important the
root dir used as the base for making targets absolute to use a canonical
path. Otherwise, we may fall into differences caused by the special
target and the other targets not being canonicalized (and thus no
deduplication happens)

Fixes #79
@alt-romes alt-romes merged commit cd4f4cc into master Sep 26, 2025
4 checks passed
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.

Init failed when projectRoot is in a symlink directory

2 participants