Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windbg support #24

Merged
merged 11 commits into from
Oct 6, 2023
Merged

Windbg support #24

merged 11 commits into from
Oct 6, 2023

Conversation

emeryberger
Copy link
Member

@emeryberger emeryberger commented Oct 6, 2023

This PR adds support for WinDBG (windbgx.exe).

  1. Install vcpkg: Follow instructions here if vcpkg is not installed already.
  2. Navigate to the src\chatdbg directory: cd src\chatdbg
  3. Install needed dependencies: Runvcpkg install
  4. Build the chatdbg.dll extension: Runmkdir build & cd build & cmake .. & cmake --build . & cd ..

Using ChatDBG:

  • Load into WinDBGX:
    • Run windbgx your_executable_here.exe
    • Click the menu items View -> Command browser
    • Type .load build\debug\chatdbg.dll
  • After running code and hitting an exception / signal:
    • Type !why in Command browser

@nicovank
Copy link
Collaborator

nicovank commented Oct 6, 2023

I have no access to a Windows machine until Sunday evening, will try this out then.

@emeryberger
Copy link
Member Author

I think it's in good shape, merging, post-merge review welcome :).

@emeryberger emeryberger merged commit 36d1e45 into main Oct 6, 2023
2 checks passed
@nicovank nicovank deleted the windbg-support branch October 7, 2023 11:20
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.

2 participants