Skip to content
Discussion options

You must be logged in to vote

@TheoW11, while the process is stopped at your breakpoint, enter these commands at the (lldb) prompt:

frame select 0
frame variable

frame variable lists the arguments and local variables available in the selected stack frame. To inspect specific parameters of drawPolylines, use:

frame variable ctx lines scale
frame variable this

There is another detail in your trace: LLDB displays assembly instructions without a source filename or line number. A function-name breakpoint can work even when the debug information needed for local variables is unavailable.

If the commands above show no variables or report that the names cannot be found, try these changes for your local debugging build:

  1. In M…

Replies: 6 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@srivilliamsai
Comment options

Comment options

You must be logged in to vote
5 replies
@TheoW11
Comment options

@srivilliamsai
Comment options

@TheoW11
Comment options

@srivilliamsai
Comment options

Answer selected by TheoW11
Comment options

You must be logged in to vote
2 replies
@srivilliamsai
Comment options

@JFritzle
Comment options

Comment options

You must be logged in to vote
1 reply
@srivilliamsai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants