microsoft / microsoft/WinDbg-Samples
GalleryManifest FilePathKind Does Not Take Precedence over _NT_DEBUGGER_EXTENSION_PATH
Open
@TedyHH is already working on this.
Since Apr 16, 2025.
- Dominant language
- C++
- Stars
- 827
- Forks
- 135
- PR merge metrics
- No merged PRs in 30d
Description
The Absolute element in File is not respected and never read e.g.,
<BinaryComponent Name="Extension" Type="Engine">
<Files>
<File Architecture="amd64" Module="c:\my\absolute\path\Extension.dll" FilePathKind="Absolute" />
</Files>
<LoadTriggers>
<TriggerSet>
<AlwaysTrigger Name="Yes" />
</TriggerSet>
</LoadTriggers>
</BinaryComponent>
the above does not load through the gallery manifest even though it gets processed. However, if I make the absolute path part of the _NT_DEBUGGER_EXTENSION_PATH, then it does get loaded. There appears to be an issue in where the absolute path is not respected but the base name of the extension is nonetheless found as the engine checks the (custom) debugger extension path.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.