summaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/wait_tree.h
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2018-05-20 20:01:08 -0500
committerGitHub <noreply@github.com>2018-05-20 20:01:08 -0500
commit882111c4f2a8ba25220e9b486abe5a24c2371c2e (patch)
treee256c590289d16e7ccfd0c0eb9627dafed54fd06 /src/yuzu/debugger/wait_tree.h
parent6486544e0981265f4d49f6ed1009902400e03181 (diff)
parentc50393e06677e868d6a014d6ebe67057e8bdf9a7 (diff)
Merge pull request #453 from Subv/thread_callstack
Qt/WaitTree: Display the callstack for each thread in the wait tree widget
Diffstat (limited to 'src/yuzu/debugger/wait_tree.h')
-rw-r--r--src/yuzu/debugger/wait_tree.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/yuzu/debugger/wait_tree.h b/src/yuzu/debugger/wait_tree.h
index 300ba9ae4..10fc9e968 100644
--- a/src/yuzu/debugger/wait_tree.h
+++ b/src/yuzu/debugger/wait_tree.h
@@ -73,6 +73,17 @@ private:
Kernel::SharedPtr<Kernel::Thread> owner;
};
+class WaitTreeCallstack : public WaitTreeExpandableItem {
+ Q_OBJECT
+public:
+ explicit WaitTreeCallstack(const Kernel::Thread& thread);
+ QString GetText() const override;
+ std::vector<std::unique_ptr<WaitTreeItem>> GetChildren() const override;
+
+private:
+ const Kernel::Thread& thread;
+};
+
class WaitTreeWaitObject : public WaitTreeExpandableItem {
Q_OBJECT
public: