Skip to content

Warn when TTD is used without the WinDbg/TTD package (Fixes #1103) - #1143

Open
xusheng6 wants to merge 1 commit into
devfrom
test_1103_ttd_not_installed
Open

Warn when TTD is used without the WinDbg/TTD package (Fixes #1103)#1143
xusheng6 wants to merge 1 commit into
devfrom
test_1103_ttd_not_installed

Conversation

@xusheng6

@xusheng6 xusheng6 commented Jul 24, 2026

Copy link
Copy Markdown
Member

Fixes #1103.

The user can try to start a TTD debugging session without installing WinDbg/TTD first. A common misconception is that they install WinDbg separately and expect that to work with Binary Ninja. However, due to Windows App restrictions, this would not work

This PR checks if the TTD DLLs can be found, and if not, let them know the debugging will fail, and prompt them to install it. It also specifically points out that a previously installed WinDbg does not work and the installation must go through binja

The debugger only loads the WinDbg/TTD copy that Binary Ninja downloads itself,
but a self-installed WinDbg looks like it should work, so the mistake surfaced
as an opaque "Failed to initialize DbgEng".

Check for the replay engine and the recorder before launching a DBGENG_TTD
session and before the TTD record/attach dialogs, and explain what is missing
with a button to install it. The core-side errors carry the same explanation.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

Let user know TTD will fail if they have not downloaded winding/TTD

1 participant