Documentation ¶
Index ¶
- func Close()
- func DAP() bool
- func DAPLogger() *logrus.Entry
- func DebugLineErrors() bool
- func Debugger() bool
- func DebuggerLogger() *logrus.Entry
- func FnCall() bool
- func FnCallLogger() *logrus.Entry
- func GdbWire() bool
- func GdbWireLogger() *logrus.Entry
- func LLDBServerOutput() bool
- func Minidump() bool
- func MinidumpLogger() *logrus.Entry
- func RPC() bool
- func RPCLogger() *logrus.Entry
- func Setup(logFlag bool, logstr string, logDest string) error
- func WriteAPIListeningMessage(addr string)
- func WriteDAPListeningMessage(addr string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugLineErrors ¶
func DebugLineErrors() bool
DebugLineErrors returns true if pkg/dwarf/line should log its recoverable errors.
func DebuggerLogger ¶
DebuggerLogger returns a logger for the debugger package.
func FnCall ¶
func FnCall() bool
FnCall returns true if the function call protocol should be logged.
func FnCallLogger ¶
func GdbWire ¶
func GdbWire() bool
GdbWire returns true if the gdbserial package should log all the packets exchanged with the stub.
func GdbWireLogger ¶
GdbWireLogger returns a configured logger for the gdbserial wire protocol.
func LLDBServerOutput ¶
func LLDBServerOutput() bool
LLDBServerOutput returns true if the output of the LLDB server should be redirected to standard output instead of suppressed.
func MinidumpLogger ¶
func Setup ¶
Setup sets debugger flags based on the contents of logstr. If logDest is not empty logs will be redirected to the file descriptor or file path specified by logDest.
func WriteAPIListeningMessage ¶
func WriteAPIListeningMessage(addr string)
WriteAPIListeningMessage writes the "API server listening" message in headless mode.
func WriteDAPListeningMessage ¶
func WriteDAPListeningMessage(addr string)
WriteDAPListeningMessage writes the "DAP server listening" message in dap mode.
Types ¶
This section is empty.