Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpStacks ¶
func DumpStacks() string
DumpStacks returns up to (1 << 15) bytes of the current processes stack trace as a string
func DumpStacksToFile ¶
func DumpStacksToFile(filename string)
DumpStacksToFile dumps the stack trace of all current goroutines to the file path provided
func SetupDumpStacks ¶
SetupDumpStacks creates a goroutine that listens for any signals passed to the Win32 event stackdump-{pid} that is defined on a Global level; each time a signal is detected to this event, it will dump the a stack trace across all goroutines (up to 1 << 15 bytes) to a file within the Windows machine's temp directory. By default, this event can only be signaled by built-in administrators and the local system.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.