Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
This is possible with Print multiple variables with one command in GDB, but how to do it with LLDB?
LLDB
If all you want is to print variables, then
(lldb) frame variable var1 var2 var3 var4
will do it for you
But if you're trying to actually evaluate expressions instead of just printing local variables, then that will not work.
Add a comment
fr v -o var1 var2 var3 var4
To get the same result , you can log messages with Xcode Breakpoints.
writing:
@var1@ @var2@ @var3@ @var4@
more details:
var1 is @var1@ , var2 is @var2@, var3 is @var3@ , var4 is @var4@
showing a pic:
just like
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.