forked from qt-creator/qt-creator
debugger: rework 'jump to source' logic
This commit is contained in:
@@ -41,6 +41,14 @@
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
struct StackCookie
|
||||
{
|
||||
StackCookie() : isFull(true), gotoLocation(false) {}
|
||||
StackCookie(bool full, bool jump) : isFull(full), gotoLocation(jump) {}
|
||||
bool isFull;
|
||||
bool gotoLocation;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// StackModel
|
||||
@@ -129,4 +137,7 @@ private:
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
||||
Q_DECLARE_METATYPE(Debugger::Internal::StackCookie)
|
||||
|
||||
|
||||
#endif // DEBUGGER_STACKHANDLER_H
|
||||
|
||||
Reference in New Issue
Block a user