Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions documentation/dotnet-trace-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,12 @@ Output File : E:\temp\gcperfsim\trace.nettrace
Press <Enter> or <Ctrl+C> to exit...
```

You can stop collecting the trace by pressing `<Enter>` or `<Ctrl + C>` key. Doing this will also exit `hello.exe`.
You can stop collecting the trace by pressing <kbd>Enter</kbd> or <kbd>Ctrl</kbd> + <kbd>C</kbd> key. Doing this will also exit `hello.exe`.

### NOTE
* Launching `hello.exe` via dotnet-trace will redirect its input/output and you will not be able to interact with it on the console by default. Use the --show-child-io switch to interact with its stdin/stdout.

* Exiting the tool via CTRL+C or SIGTERM will safely end both the tool and the child process.

* If the child process exits before the tool, the tool will exit as well and the trace should be safely viewable.
> [!NOTE]
> * Launching hello.exe via dotnet-trace will redirect its input/output and you will not be able to interact with it on the console by default. Use the `--show-child-io` switch to interact with its stdin/stdout.
> * Exiting the tool via CTRL+C or SIGTERM will safely end both the tool and the child process.
> * If the child process exits before the tool, the tool will exit as well and the trace should be safely viewable.


## Viewing the trace captured from dotnet-trace
Expand Down Expand Up @@ -282,4 +280,4 @@ Options:
The format of the output trace file. This defaults to "nettrace" on Windows and "speedscope" on other OSes.

-- <command> (for target applications running .NET 5.0 or later only)
The command to run to launch a child process and trace from startup.
The command to run to launch a child process and trace from startup.