How to track code execution in C #

How can I track the code execution of my C # application? Are there any tools? I have a problem on my work site.

+3
source share
7 answers

Visual studio has a built-in tool called tracing in System Diagnostics .

For a running application that does not have trace code support, you can use a profiler (for example, ANTZ redgate or JetTrack dotTrace profiler), but this will affect performance.

( - , ), windbg . .

+8

JetBrains dotTrace, .

+4

(, " 1" )?

, log4net PostSharp .

+1

(, Log4Net) Visual Studio .

+1

Visual Studio 2005+ F11 F5, .

( , , VS ).

0

Visual Studio , , , .

0

ETW. ASP.NET , Perf.

Window2008, ETW -. ETW IIS, FileSystem, Registry, Threading . MSDN Managed call-stacks

0

Source: https://habr.com/ru/post/1730372/


All Articles