Implementing DebugPort features from VS2022

Andy Hippo 1 Reputation point
2022-06-07T15:51:32.37+00:00

Hi, I'm developing a custom DebugEngine for Visual Studio, which also includes a custom DebugPortSupplier/DebugPort implementation (src).

In Visual Studio 2022 the "Attach to Process" window got some new cool features:

  1. Displaying the full command line of the process
  2. Showing the processe tree
  3. Automatic refresh of the process list

209211-3eb7gizwvhgyzjd.png

How do I implement these features for my custom port? Right now the checkboxes are greyed out with messages like "the port doesn't support this" (and the commandline field in the table is empty). I've studied the debugger API reference documentation (https://learn.microsoft.com/en-us/visualstudio/extensibility/debugger/reference/idebugport2?view=vs-2022), but I don't see anything related to these new features. Please, help!

Community Center | Not monitored
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.