Top "System.diagnostics" questions

System.

How get value of parameters in stacktrace

I can get information about a parameter by StackTrace using something like this: catch (Exception ex) { var st = new StackTrace(…

c# .net exception stack-trace system.diagnostics
Difference between Debugger.Launch and Debugger.Break

What's the difference between Debugger.Launch(); Debugger.Break(); ?

c# .net debugging system.diagnostics
Can Process.Start() take the system PATH into account?

I've been searching and experimenting for a while with this, but I have had no luck. I am trying to …

c# path system.diagnostics process.start
WCF logging/tracing and activity id propagation using log4net or NLog

I have seen many other questions on logging. Best practices. What logging platform is best. Etc. Here are some links …

wcf logging log4net nlog system.diagnostics
Format of Tracing output in System.Diagnostics.TraceSource

The following code: static void Main(string[] args) { TraceSource ts = new TraceSource("MyApplication"); ts.Switch = new SourceSwitch("MySwitch"); ts.Switch.…

c# .net system.diagnostics tracesource
Log4net traceappender not logging anything

I'd like to redirect everything logged by log4net to the System.Diagnostics Trace classes. My understanding of what I …

log4net system.diagnostics
Is my process waiting for input?

I am using the Process class to run an exe. The exe is a 3rd party console application that I …

c# .net system.diagnostics
System.Diagnostics.Process namespace missing

I am writing an application where I have to use Process.Start api using System.Diagnostics namespace. I am using …

c# mono system.diagnostics moonlight
Event Logging IPAddress does not always resolve

I am hooking the Security event log with System.Diagnostics.Eventing.Reader.EventLogWatcher class, and I am watching Event ID 4625 …

c# event-log system.diagnostics
Problem with System.Diagnosis.TextWriterTraceListener not writing any log to the filesystem

To solve an issue with sending e-mail through a smtp-server where e-mails are not getting sent, I was adviced to …

.net asp.net logging system.diagnostics