debugger: add support for temporary breakpoints

Change-Id: I841c37d21932da0ef354dbbe2fd75cec2fae86d6
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-08-21 14:16:07 +02:00
parent c2b78b8fdf
commit f671a58c79
6 changed files with 63 additions and 18 deletions

View File

@@ -174,7 +174,6 @@ enum BreakpointParts
ConditionPart = 0x10,
IgnoreCountPart = 0x20,
ThreadSpecPart = 0x40,
AllConditionParts = ConditionPart|IgnoreCountPart|ThreadSpecPart,
ModulePart = 0x80,
TracePointPart = 0x100,
@@ -183,11 +182,16 @@ enum BreakpointParts
PathUsagePart = 0x800,
CommandPart = 0x1000,
MessagePart = 0x2000,
OneShotPart = 0x4000,
AllConditionParts = ConditionPart|IgnoreCountPart|ThreadSpecPart
|OneShotPart,
AllParts = FileAndLinePart|FunctionPart
|ExpressionPart|AddressPart|ConditionPart
|IgnoreCountPart|ThreadSpecPart|ModulePart|TracePointPart
|EnabledPart|TypePart|PathUsagePart|CommandPart|MessagePart
|OneShotPart
};
inline void operator|=(BreakpointParts &p, BreakpointParts r)
@@ -234,6 +238,7 @@ public:
QString command; //!< command to execute
QString message; //!< message
bool tracepoint;
bool oneShot; //!< Should this breakpoint trigger only once?
};
class BreakpointResponse : public BreakpointParameters