Learn R Programming

gethr (version 0.1.0)

debug_backtraceAt: Logging backtrace location.

Description

debug_backtraceAt sets the logging backtrace location. When a backtrace location is set and a log message is emitted at that location, the stack of the goroutine executing the log statement will be printed to stderr.

Usage

debug_backtraceAt(path)

Arguments

path

String - Backtrace location.

See Also

Other debug functions: debug_blockProfile, debug_cpuProfile, debug_dumpBlock, debug_gcStats, debug_getBlockRlp, debug_goTrace, debug_memStats, debug_seedHash, debug_setBlockProfileRate, debug_setHead, debug_stacks, debug_startCPUProfile, debug_startGoTrace, debug_stopCPUProfile, debug_stopGoTrace, debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceBlockFromFile, debug_traceBlock, debug_traceTransaction, debug_verbosity, debug_vmodule, debug_writeBlockProfile, debug_writeMemProfile, gethr

Examples

Run this code
# NOT RUN {
debug_backtraceAt('my_server.go:443')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab