diff --git a/src/citra_qt/debugger/wait_tree.cpp b/src/citra_qt/debugger/wait_tree.cpp index 15a7ada03..540ab6c41 100644 --- a/src/citra_qt/debugger/wait_tree.cpp +++ b/src/citra_qt/debugger/wait_tree.cpp @@ -216,6 +216,7 @@ std::vector> WaitTreeThread::GetChildren() const { std::vector> list(WaitTreeWaitObject::GetChildren()); const auto& thread = static_cast(object); + const auto* process = thread.owner_process; QString processor; switch (thread.processor_id) { @@ -238,6 +239,10 @@ std::vector> WaitTreeThread::GetChildren() const { list.push_back(std::make_unique(tr("processor = %1").arg(processor))); list.push_back(std::make_unique(tr("thread id = %1").arg(thread.GetThreadId()))); + list.push_back( + std::make_unique(tr("process = %1 (%2)") + .arg(QString::fromStdString(process->GetName())) + .arg(process->process_id))); list.push_back(std::make_unique(tr("priority = %1(current) / %2(normal)") .arg(thread.current_priority) .arg(thread.nominal_priority)));