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

A Quick-jump Ability #894

Open
Coldblackice opened this issue May 18, 2021 · 0 comments
Open

A Quick-jump Ability #894

Coldblackice opened this issue May 18, 2021 · 0 comments

Comments

@Coldblackice
Copy link

Is your feature request related to a problem? Please describe.

When I see a process hanging, I'll do an "Analyze Wait Chain" in Task Manager to see which PIDs/TIDs are being waited on, and then I'll then rush to Process Hacker to see the respective thread stacks. But by the time I can get to the specific process + thread(s) in PH, often the hang has already resolved before I can take a look.

Describe the solution you'd like

A fantastic feature to assist this would be a "Go to" function in PH, callable by keyboard shortcut (CTRL-G), enabling a user to jump directly to any PID or process name (first instance of, partial matching) that's typed into the popup dialog. The main viewer then scrolls to and highlights that exact process.

This simple feature could be leveled up even further if it were turned into a "Command Palette" along the likes of VS/Code, Sublime, etc. This could enable not only quick-jumping to particular processes, but jumping directly anywhere.

For example, if "Analyze Waitchain" showed the hang was being held up by PID 1234's thread #5678, I would open PH, press CTRL-SHIFT-P to bring up the PH Quick/Command Palette, type "p1234" {Enter}, and it'd takes me to that process in the viewer. However, if I appended my input like "p1234:5678", it would not only scroll the viewer to that highlighted process, it could even open its properties dialog to its "Threads" tab and even highlight that specific thread, TID 5678.

If the TID was invalid or no longer existed, it would just take you to the tab in that case, similar to Task Manager's "Go to service(s)", which merely takes you to the Services tab without highlighting a service if there isn't one attached.

But if that's getting ahead of the cart, even just the simple feature/ability to "CTRL-G" straight to a particular PID or process name would be immensely useful.

Describe alternatives you've considered

I've tried doing this through PH's CTRL-F/Find function, but it isn't easily able to find and jump into a PID's properties, and particularly threads/stacks like can be done by double-clicking/entering a process' properties through the main viewer pane.

Additional context

Add any other context or screenshots about the feature request here.
I know there exist other ways to catch problematic thread stacks for debugging, such as running procmon captures, but these necessitate an ahead-of-time preparation anticipating a specific problem with a problematic process. What I'm proposing is for the unplanned, random process that out of the blue starts malfunctioning or being greedy with system resources, causing issues, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants