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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 28 18:25:07 PST 2023


================
@@ -1239,11 +1242,12 @@ class CommandObjectThreadSelect : public CommandObjectParsed {
       new_thread = process->GetThreadList().FindThreadByIndexID(index_id).get();
       if (new_thread == nullptr) {
         result.AppendErrorWithFormat("Invalid thread #%s.\n",
----------------
clayborg wrote:

Do we want to add some extra text saying "Invalid thread index #%s" to make it clear the thread index is invalid? Since we mention the "Invalid thread ID %lu" below?

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


More information about the lldb-commits mailing list