lldb.break: Set breakpoints

Description Usage Arguments Value See Also Examples

Description

Stop execution at certain posititions in the source

Usage

1
2
3
4
5
lldb.breakline(file = NULL, line = 0, handle = NULL,
  condition = NULL)

lldb.breakfun(symbol = NULL, module = NULL, handle = NULL,
  condition = NULL)

Arguments

file

source file to break in

line

line number to break at

handle

handle returned from lldb.load() or NULL for the default handle

condition

the breakpoint stops only if the condition expression evaluates to true.

symbol

symbol (function) to break in

module

module to search for symbol

Value

An invisible return code.

See Also

lldb.run

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
library(lldbR)
lldb.load("/path/to/binary")

### Break at line 10 of the specified source file 
lldb.breakline(file="/path/to/source.c", line=10)

### Break in main()
lldb.breakfun(symbol="main")

## End(Not run)

heckendorfc/lldbR documentation built on March 16, 2020, 12:24 a.m.