[英]Does lldb have “info threads” like gdb
How to check how many threads run and step in different threads in LLDB? 如何检查LLDB中有多少线程运行并进入不同的线程? GDB has info threads.
GDB有信息线程。 Does LLDB have similar commands?
LLDB是否有类似的命令?
Run the: 跑过:
(lldb) help thread
command to see what you can do with threads in lldb. 命令以查看您可以对lldb中的线程执行的操作。
(lldb) thread list
will list the threads and 将列出线程并
(lldb) thread select
will select the thread you're going to inspect or step. 将选择您要检查或步进的线程。 There's an lldb cheat sheet for gdb users here:
以下是gdb用户的lldb备忘单:
http://lldb.llvm.org/lldb-gdb.html http://lldb.llvm.org/lldb-gdb.html
though it looks like it doesn't have thread list
. 虽然看起来没有
thread list
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.