Skip to content

Pin WinDbg/TTD version instead of always downloading latest (Fix #1130)#1140

Open
xusheng6 wants to merge 1 commit into
devfrom
fix_1130_pin_windbg
Open

Pin WinDbg/TTD version instead of always downloading latest (Fix #1130)#1140
xusheng6 wants to merge 1 commit into
devfrom
fix_1130_pin_windbg

Conversation

@xusheng6

Copy link
Copy Markdown
Member

The latest WinDbg release (1.2606.22001.0) crashes the DbgEng TTD adapter on stop (#1129). Rather than always pulling the newest build, the installer now pins a known-good version.

Changes

  • Pin 1.2603.20001.0 (second-latest, verified working) and download its MSIX bundle directly by URL, skipping the appinstaller manifest.
  • Fallback: if the pinned download fails at any step (e.g. Microsoft removes it from the CDN), fall back to the old flow — download the appinstaller manifest and install the latest version — so installation still succeeds.
  • GetLatestVersion() now reports the pinned version, keeping check-update/the update dialog consistent (no more nagging users to update to a version the installer won't install).
  • Refactored the shared download → verify → extract → install logic into a helper reused by both paths.

To adopt a newer WinDbg once validated, bump the single kPinnedVersion constant.

🤖 Generated with Claude Code

…latest (Fix #1130)

The latest WinDbg release (1.2606.22001.0) crashes the DbgEng TTD adapter on
stop (#1129). The installer now downloads a pinned version (1.2603.20001.0)
directly by URL, and falls back to the latest version via the appinstaller
manifest if the pinned download fails.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@xusheng6
xusheng6 requested a review from plafosse July 24, 2026 17:06
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.

1 participant