aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerstreamops.cpp
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/debuggerstreamops.cpp
parentbcb46f3ebbdcd64e35590ce40b73d90162aac3e8 (diff)
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/debuggerstreamops.cpp')
-rw-r--r--src/plugins/debugger/debuggerstreamops.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerstreamops.cpp b/src/plugins/debugger/debuggerstreamops.cpp
index fb888d2080..81cb608b2a 100644
--- a/src/plugins/debugger/debuggerstreamops.cpp
+++ b/src/plugins/debugger/debuggerstreamops.cpp
@@ -191,6 +191,7 @@ QDataStream &operator<<(QDataStream &stream, const BreakpointParameters &s)
stream << s.tracepoint;
stream << s.module;
stream << s.command;
+ stream << s.message;
return stream;
}
@@ -210,6 +211,7 @@ QDataStream &operator>>(QDataStream &stream, BreakpointParameters &s)
stream >> b; s.tracepoint = b;
stream >> str ; s.module = str;
stream >> str ; s.command = str;
+ stream >> str ; s.message = str;
return stream;
}