microsoft / microsoft/WinDbg-Samples

GalleryManifest FilePathKind Does Not Take Precedence over _NT_DEBUGGER_EXTENSION_PATH

Open
#121 3 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.