dotnet / dotnet/diagnostics

Consider possible ways to enable child process scenarios in tracing

Open
#3,175 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 5h
Merged PRs (30d)
35

Description

> since `./build.sh libs.src` invokes `dotnet` internally multiple, it doesn't work. i didn't find a "follow child" option, provided by similar tools; `strace -f` or gdb (all versions) and lldb (version 14 onward) `follow-fork-mode` option.

_Originally posted by @kasperk81 in https://github.com/dotnet/msbuild/issues/7757#issuecomment-1177977054_

It's really hard to do startup tracing at runtime startup for child processes. It would be easier to have something like createdump, that allows the environment variables to have a token with a pid marker so the pipe can be distinguished per process and there can at least be a trace per process.

cc: @davmason

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.