[Lldb-commits] [lldb] Add option to pass thread ID to thread select command (PR #73596)

via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 27 17:35:18 PST 2023


jimingham wrote:

I would prefer you make the `-t` an option with a value, rather than a flag saying what the argument means.  It makes the completer much easier to hook up since the option value can complete against the native thread ID's, and the argument complete against thread indexes.  You CAN write completers that look at the whole line, check what options are provided and complete based on that.  `break set` does this for `break set -n Foo -s libmylib.dylib` if you want to have a look at that.  But otherwise, making the option have a value will be more straightforward.

https://github.com/llvm/llvm-project/pull/73596


More information about the lldb-commits mailing list