Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rainersigwald/traceeventlogger
An MSBuild logger that emits trace_event JSON suitable for Chrome's trace viewer.
https://github.com/rainersigwald/traceeventlogger
Last synced: 28 days ago
JSON representation
An MSBuild logger that emits trace_event JSON suitable for Chrome's trace viewer.
- Host: GitHub
- URL: https://github.com/rainersigwald/traceeventlogger
- Owner: rainersigwald
- License: mit
- Created: 2017-08-15T01:46:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-28T18:29:06.000Z (over 2 years ago)
- Last Synced: 2024-10-06T15:21:57.678Z (about 1 month ago)
- Language: C#
- Size: 195 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TraceEventLogger
An MSBuild logger that emits trace_event JSON suitable for Chrome’s [Trace-Viewer](https://github.com/catapult-project/catapult/blob/master/tracing/README.md).![Screenshot showing a timeline with targets flowing to one another](docs/screenshot.png)
## Usage
Because this logger doesn't preserve all of the information needed to debug builds in general, it's a good idea to capture a [binary log](https://github.com/Microsoft/msbuild/wiki/Binary-Log) and replay it through this logger.
Build your project with an attached binary log
```
msbuild project.csproj /bl
```After you have a binary log, replay it with the TraceEventLogger attached
```
msbuild /l:path\to\TraceEventLogger.dll msbuild.binlog
```This will emit a file named `msbuild_events.json` in the current working directory.
Using Chrome, open chrome://tracing, click "Load", and browse to the log output.