Changeset View
Changeset View
Standalone View
Standalone View
debuggers/lldb/controllers/framestackmodel.cpp
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 59 | { | |||
---|---|---|---|---|---|
64 | } | 64 | } | ||
65 | } | 65 | } | ||
66 | 66 | | |||
67 | void LldbFrameStackModel::fetchThreads() | 67 | void LldbFrameStackModel::fetchThreads() | ||
68 | { | 68 | { | ||
69 | // TODO: preliminary test shows there might be a bug in lldb-mi | 69 | // TODO: preliminary test shows there might be a bug in lldb-mi | ||
70 | // that's causing std::logic_error when executing -thread-info with | 70 | // that's causing std::logic_error when executing -thread-info with | ||
71 | // more than one threads. Find a workaround for this (and report bug | 71 | // more than one threads. Find a workaround for this (and report bug | ||
72 | // if it truely is). | 72 | // if it truly is). | ||
73 | session()->addCommand(ThreadInfo, "", this, &LldbFrameStackModel::handleThreadInfo); | 73 | session()->addCommand(ThreadInfo, "", this, &LldbFrameStackModel::handleThreadInfo); | ||
74 | } | 74 | } | ||
75 | 75 | | |||
76 | void LldbFrameStackModel::handleThreadInfo(const ResultRecord& r) | 76 | void LldbFrameStackModel::handleThreadInfo(const ResultRecord& r) | ||
77 | { | 77 | { | ||
78 | const Value& threads = r["threads"]; | 78 | const Value& threads = r["threads"]; | ||
79 | 79 | | |||
80 | QList<FrameStackModel::ThreadItem> threadsList; | 80 | QList<FrameStackModel::ThreadItem> threadsList; | ||
Show All 38 Lines |