Skip to content

dotnet.exe should not appear in "dotnet counters list-processes" #372

@chrisnas

Description

@chrisnas

After installing dotnet-counters Preview 6, two different outputs are generated when "dotnet counters list-processes" and "dotnet-counters list-processes" are executed.
image

When using the "dotnet counters" syntax, dotnet.exe seems to spawn the C:\Users<user>.dotnet\tools\dotnet-counters.exe application.
Since dotnet.exe exposes its own \.\pipe\dotnetcore-diagnostic- named pipe, it appears in the list (based on https://github.com/dotnet/diagnostics/blob/master/src/Microsoft.Diagnostics.Tools.RuntimeClient/Eventing/EventPipeClient.cs#L35).

However, I don't see any filtering out of the current process so I can't explain why dotnet-counters.exe does not appear when it runs...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions