View definition

(*RPCServer).CreateBreakpoint

Defined in github.com/derekparker/delve/service/rpc2/server.go

Description

CreateBreakpoint creates a new breakpoint.

- If arg.Breakpoint.File is not an empty string the breakpoint will be created on the specified file:line location

- If arg.Breakpoint.FunctionName is not an empty string the breakpoint will be created on the specified function:line location. Note that setting a breakpoint on a function's entry point (line == 0) can have surprising consequences, it is advisable to use line = -1 instead which will skip the prologue.

- Otherwise the value specified by arg.Breakpoint.Addr will be used.

CreateBreakpoint is referenced in 0 repositories