debugger: rework 'jump to source' logic

This commit is contained in:
hjk
2009-10-05 12:00:47 +02:00
parent 1f1c899cc0
commit 75529d87d3
5 changed files with 143 additions and 120 deletions

View File

@@ -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