Group Group Group Group Group Group Group Group Group

Lldb console command to "Run only this thread" (--run-mode or -m?)

#1

In chapter 6 “Stepping in the Xcode GUI” section, there’s mention of a LLDB console command equivalent to control the running mode (run only this thread, run all threads, while stepping, etc) by using --run-mode option, or -m followed by the appropriate option.

I don’t seem to figure out how to do that, can anyone provide an example please?

#2

I have the same question!

#3

@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]

#4

Using Xcode 10.2 with the this-thread option…

(lldb) version
lldb-1001.0.12.1
Swift-5.0
(lldb)  thread step-over -m this-thread