dotnet / dotnet/diagnostics

-- feature of diagnostic tools forwards SigInt to child process

Open
#1,938 1 comment 0 reactions 0 assignees View on GitHub
bug diagnostic global tooling enhancement Microsoft.Diagnostics.NETCore.Client up-for-grabs
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 5h
Merged PRs (30d)
35

Description

Invoking a tool with `-- appToRun` runs the app as a child process of the tool. Most of the "live" tools use SigInt to finish operation (end the trace, stop displaying counters, etc.). Pressing SigInt with a child process also sends a SigInt to the child process currently. This can cause the client library to error out when it tries to stop the EventPipe session because the child process has already exited when it received the SigInt.

The child process shouldn't receive signals sent by the user to the tool.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.