Class ThreadDumperEP
Thread dumper that uses the EventPipe to acquire the call stacks of all the running Threads
Inheritance
System.Object
ThreadDumperEP
Implements
Namespace: Steeltoe.Management.Endpoint.ThreadDump
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public class ThreadDumperEP : object, IThreadDumper
Constructors
| Edit this page View SourceThreadDumperEP(IThreadDumpOptions, ILogger<ThreadDumperEP>)
Declaration
public ThreadDumperEP(IThreadDumpOptions options, ILogger<ThreadDumperEP> logger = null)
Parameters
Type | Name | Description |
---|---|---|
IThreadDumpOptions | options | |
ILogger<ThreadDumperEP> | logger |
Methods
| Edit this page View SourceDumpThreads()
Connect using the EventPipe and obtain a dump of all the Threads and for each thread a stacktrace
Declaration
public List<ThreadInfo> DumpThreads()
Returns
Type | Description |
---|---|
List<ThreadInfo> | the list of threads with stack trace information |