summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakpoint.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-06-27 10:37:57 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-06-27 10:42:50 +0200
commit90ee1cc1c92e066678bdef5386a3c3bb856e0e71 (patch)
treeacae4578d3f85952338a1e8b8d0edc097e93ff97 /src/plugins/debugger/breakpoint.h
parentbcb46f3ebbdcd64e35590ce40b73d90162aac3e8 (diff)
downloadqt-creator-90ee1cc1c92e066678bdef5386a3c3bb856e0e71.tar.gz
Debugger: Add infrastructure for message tracepoints.
Add context menu to add a 'message tracepoint', that is, a trace point that outputs a user message and continues. Intended to be a replacement for manually inserting a qDebug() into the code to understand the call sequence. Yet to be implemented for gdb. Change-Id: I1c303001421fbbae74d98d15d52718579350db6e Rubber-stamped-by: hjk Reviewed-on: http://codereview.qt.nokia.com/756 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/debugger/breakpoint.h')
-rw-r--r--src/plugins/debugger/breakpoint.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakpoint.h b/src/plugins/debugger/breakpoint.h
index 72bd617976..c1c2c3074e 100644
--- a/src/plugins/debugger/breakpoint.h
+++ b/src/plugins/debugger/breakpoint.h
@@ -182,11 +182,12 @@ enum BreakpointParts
TypePart = 0x400,
PathUsagePart = 0x800,
CommandPart = 0x1000,
+ MessagePart = 0x2000,
AllParts = FileAndLinePart|FunctionPart
|ExpressionPart|AddressPart|ConditionPart
|IgnoreCountPart|ThreadSpecPart|ModulePart|TracePointPart
- |EnabledPart|TypePart|PathUsagePart|CommandPart
+ |EnabledPart|TypePart|PathUsagePart|CommandPart|MessagePart
};
inline void operator|=(BreakpointParts &p, BreakpointParts r)
@@ -229,6 +230,7 @@ public:
QString functionName;
QString module; //!< module for file name
QString command; //!< command to execute
+ QString message; //!< message
bool tracepoint;
};