Top "System.diagnostics" questions

System.

Difference between using Trace and TraceSource

Anyone knows the difference between System.Diagnostic.Trace and System.Diagnostic.TraceSource classes? I've been using Trace for most of …

.net logging system.diagnostics tracesource
Calling dism.exe from System.Diagnostics.Process Fails

For enabling Microsoft-Hyper-V and Microsoft-Hyper-V-Management in Windows 2008 R2 Server(64bit), I'm calling dism.exe as a process. The command I've …

c# visual-studio windows-server-2008-r2 system.diagnostics
Printing newline using System.Diagnostics.Debugger.Log

I am printing a lot of lines in my log while debugging like this: System.Diagnostics.Debugger.Log(0, null, responseFromServer); …

c# system.diagnostics
TextWriterTraceListener does not work

Config file: <system.diagnostics> <trace> <listeners> <add name="Console" type="System.Diagnostics.ConsoleTraceListener" …

c# .net logging trace system.diagnostics
Automatically log System.diagnostics.trace messages to an Nlog target

Say you have C# trace messages all over an application. Something like: Trace.TraceInformation("Service Started"); How do you automatically …

c# trace nlog system.diagnostics
Problem launching a System.Diagnostics.Process under Windows 7

I’m trying to launch an application (Operating System, My Application and the application I want to launch are all 32 …

c# .net windows-7 system.diagnostics
System.Diagnostics.Process issue with WorkingDirectory

I am using a third party software tool (command line tool) to merge PDF files together. Using C# I am …

process system.diagnostics processstartinfo
How do I know when the last OutputDataReceived has arrived?

I have a System.Diagnostics.Process object in a program targeted at the .Net framework 3.5 I have redirected both StandardOutput …

c# asynchronous system.diagnostics
System.Diagnostics.Trace, simplest possible programmatic configuration

The following program does not print the text "This is a trace". There is no app.config. My question is, …

c# .net trace system.diagnostics