Class ThreadDumperEP
- Namespace
- Steeltoe.Management.Endpoint.ThreadDump
- Assembly
- Steeltoe.Management.EndpointBase.dll
Thread dumper that uses the EventPipe to acquire the call stacks of all the running Threads
public class ThreadDumperEP : IThreadDumper
- Inheritance
-
ThreadDumperEP
- Implements
- Inherited Members
Constructors
ThreadDumperEP(IThreadDumpOptions, ILogger<ThreadDumperEP>)
public ThreadDumperEP(IThreadDumpOptions options, ILogger<ThreadDumperEP> logger = null)
Parameters
options
IThreadDumpOptionslogger
ILogger<ThreadDumperEP>
Methods
DumpThreads()
Connect using the EventPipe and obtain a dump of all the Threads and for each thread a stacktrace
public List<ThreadInfo> DumpThreads()
Returns
- List<ThreadInfo>
the list of threads with stack trace information