Documentation ¶
Index ¶
- func Any() bool
- 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, logDest string) error
- func WriteAPIListeningMessage(addr net.Addr)
- func WriteDAPListeningMessage(addr net.Addr)
- func WriteError(msg 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 ¶ added in v1.8.2
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 ¶ added in v1.8.2
func GdbWire ¶
func GdbWire() bool
GdbWire returns true if the gdbserial package should log all the packets exchanged with the stub.
func GdbWireLogger ¶ added in v1.8.2
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 Minidump ¶ added in v1.8.2
func Minidump() bool
Minidump returns true if the minidump loader should be logged.
func MinidumpLogger ¶ added in v1.8.2
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 ¶ added in v1.8.2
WriteAPIListeningMessage writes the "API server listening" message in headless mode.
func WriteDAPListeningMessage ¶ added in v1.8.2
WriteDAPListeningMessage writes the "DAP server listening" message in dap mode.
func WriteError ¶ added in v1.8.2
func WriteError(msg string)
Types ¶
This section is empty.