summaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/wait_tree.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-05-19 16:52:49 -0500
committerSubv <subv2112@gmail.com>2018-05-19 16:52:49 -0500
commitc50393e06677e868d6a014d6ebe67057e8bdf9a7 (patch)
tree38e58c277810edebb1588591a3acf063e8ce203c /src/yuzu/debugger/wait_tree.h
parent1b5c02fc37206bbd33715d2dde6258c3f835581c (diff)
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: