12c569ea95
Source in src/Tools/Common/WindowProcessExtension/WindowProcessExtension.cs is copied from:
|
||
---|---|---|
.github | ||
documentation | ||
eng | ||
src | ||
.gitattributes | ||
.gitignore | ||
Build.cmd | ||
CMakeLists.txt | ||
CODE-OF-CONDUCT.md | ||
Directory.Build.props | ||
LICENSE.TXT | ||
NuGet.config | ||
README.md | ||
Restore.cmd | ||
SECURITY.md | ||
THIRD-PARTY-NOTICES.TXT | ||
Test.cmd | ||
build.sh | ||
debuggees.sln | ||
diagnostics.sln | ||
diagnostics.yml | ||
dotnet.cmd | ||
dotnet.sh | ||
global.json | ||
restore.sh | ||
test.sh |
README.md
.NET Core Diagnostics Repo
This repository contains the source code for various .NET Core runtime diagnostic tools. It currently contains SOS, the managed portion of SOS, the lldb SOS plugin and various global diagnostic tools. The goals of this repo is to build SOS and the lldb SOS plugin for the portable (glibc based) Linux platform (Centos 7) and the platforms not supported by the portable (musl based) build (Centos 6, Alpine, and macOS) and to test across various indexes in a very large matrix: OSs/distros (Centos 6/7, Ubuntu, Alpine, Fedora, Debian, RHEL 7.2), architectures (x64, x86, arm, arm64), lldb versions (3.9 to 9.0) and .NET Core (all in-development and supported major versions).
Another goal to make it easier to obtain a version of lldb (currently 3.9) with scripts and documentation for platforms/distros like Centos, Alpine, Fedora, etc. that by default provide really old versions.
This repo will also allow out of band development of new SOS and lldb plugin features like symbol server support for the .NET Core runtime and solve the source build problem having SOS.NETCore (managed portion of SOS) in the runtime repo.
See the GitHub Release tab for notes on SOS and diagnostic tools releases.
Building the Repository
The build depends on Git, CMake, Python and of course a C++ compiler. Once these prerequisites are installed
the build is simply a matter of invoking the 'build' script (build.cmd
or build.sh
) at the base of the
repository.
The details of installing the components differ depending on the operating system. See the following pages based on your OS. There is no cross-building across OS (only for ARM, which is built on x64). You have to be on the particular platform to build that platform.
To install the platform's prerequisites and build:
- Windows Instructions
- Linux Instructions
- MacOS Instructions
- FreeBSD Instructions
- NetBSD Instructions
- Testing on private runtime builds
SOS and Other Diagnostic Tools
- SOS - About the SOS debugger extension.
- dotnet-dump - Dump collection and analysis utility.
- dotnet-gcdump - Heap analysis tool that collects gcdumps of live .NET processes.
- dotnet-trace - Enable the collection of events for a running .NET Core Application to a local trace file.
- dotnet-counters - Monitor performance counters of a .NET Core application in real time.
Useful Links
- FAQ - Frequently asked questions.
- The LLDB Debugger - More information about lldb.
- SOS - More information about SOS.
- Debugging CoreCLR - Instructions for debugging .NET Core and the CoreCLR runtime.
- dotnet/runtime - Source for the .NET Core runtime.
- Official Build Instructions - Internal official build instructions.
Build Status
License
The diagnostics repository is licensed under the MIT license.