• Stars
    star
    318
  • Rank 131,872 (Top 3 %)
  • Language ASP.NET
  • License
    MIT License
  • Created almost 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My notes collected while debugging various problems in .NET and native applications.

Debug Recipes

It is a repository of my field notes collected while debugging various .NET application problems on Windows (mainly) and Linux. They do not contain much theory but rather describe tools and scripts with some usage examples.

The πŸ’Ύ icon before a section name means that materials in a given section are no longer updated and may be outdated.

I hope you will find the materials helpful. Any contribution is welcome.

πŸ‘‰ I also authored the .NET Diagnostics Expert course, available at Dotnetos 🌢️ Academy. Apart from the theory, it contains lots of demos and troubleshooting guidelines. Check it out if you're interested in learning .NET troubleshooting. πŸ‘ˆ

General advice

Make sure you have valid symbols configuration in your system. If you are debugging a .NET application you may first check the .NET debugging tips.

Tools & techniques

Troubleshooting

Application execution problems

Database connectivity

.NET Web Applications

System

Databases

MS SQL Server MySQL
Slow queries X X
Blocked requests X X
Indexes problems X X
I/O problems X
Server problems X X

IIS

More Repositories

1

wtrace

Command line tracing tool for Windows, based on ETW.
C#
648
star
2

process-governor

This application allows you to put various limits on Windows processes.
C#
462
star
3

dotnet-wtrace

A command-line tool for live tracing .NET applications, based on EventPipes.
F#
169
star
4

comon

A WinDbg extension to trace COM interactions
C++
100
star
5

dotnet-netrace

Collects network traces of .NET applications.
C#
92
star
6

concerto

A command line tool and a library to generate TLS certificates for development purposes.
C#
36
star
7

diagnostics-kit

Diagnostics Kit is a set of tools and libraries to effectively work with logs generated in .NET applications.
C#
34
star
8

mindbg

Mindbg is a simple debugger engine written in .net 4.0 for learning purposes.
C#
32
star
9

takedetour

A template (and a sample) for writing tracers on Windows. Based on the Detours library.
C++
29
star
10

diagnostics-tools

C#
26
star
11

lldext

LLD WinDbg extension
C++
23
star
12

debuggable-windows

This repository contains Ansible scripts which will install and configure tools necessary to effectively debug and profile applications on Windows.
PowerShell
20
star
13

fsmemfs

Memory File System written in F# (using WinFsp)
F#
19
star
14

aspnetcrypter

C#
18
star
15

send2procmon

A command line tool that sends its input data to a running procmon instance.
C#
14
star
16

hexify

A .NET library to help you work with HEX strings.
C#
11
star
17

windbg-ext-template

A template for creating managed WinDbg extensions
C++
9
star
18

protoss-com-example

A sample COM server and client
C++
7
star
19

lowleveldesign-blog-samples

C
6
star
20

azrdp

Creates a temporary SSH tunnel to a virtual machine in Azure.
C#
5
star
21

PowerTrace

A Powershell module containing commands to control and process ETW (Event Tracing for Windows).
PowerShell
5
star
22

PowerCrypto

PowerShell module with various commands to encode/encrypt/print byte arrays.
PowerShell
2
star
23

detours-win32metadata

This repository contains code to build Win32 API surface of the Detours library to be consumed by .NET projects.
C++
1
star