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

Process tree missing from new WinDbg #238

Open
slightlyoff opened this issue Nov 7, 2024 · 1 comment
Open

Process tree missing from new WinDbg #238

slightlyoff opened this issue Nov 7, 2024 · 1 comment

Comments

@slightlyoff
Copy link

Per conversation with @aluhrs13, it appears that the Process Tree is missing from the new UI; only threads in the current process are visible. The old UI, which made it much easier to work in codebases like Chromium, was documented here:

https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/processes-and-threads-window

@wmessmer-msft
Copy link

While that's true and is something we might look into, I'll note that the UI is extensible (even via simple JavaScript).

In the interim, if having such a view helps... see the attached files here (they are renamed to have .txt so they'll attach to GitHub):

GalleryManifest.xml.txt
ProcessThreads.js.txt

You can:
- Make a directory (e.g.: ProcessThreads) in %LocalAppData%\DBG\UserExtensions
- Copy the files into that directory (removing the .txt extension)
- Restart the debugger

At that point, there should be a "Process & Threads" icon on the "Extensions" tab of the ribbon:

image

Clicking it will bring up a view similar in form to the old WinDbg one.... you can right click any process and/or thread in that view and "Switch To":

image

The JS stuff has long been documented... you can find documentation for the gallery manifesting at:

https://github.com/microsoft/WinDbg-Samples/blob/master/Manifest/README.MD

Hope that helps in the interim... The attached JS script should be easy to follow/edit to add whatever you want...

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

No branches or pull requests

2 participants