aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/tcfengine.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2009-05-14 14:29:37 +0200
committerFriedemann Kleint <[email protected]>2009-05-14 14:29:37 +0200
commit0e3aa47fcd4d857ec851b253a87ea5d7a26d49c2 (patch)
treecc748eb9acf86fb00accbdb8f7fd792cca464896 /src/plugins/debugger/tcfengine.cpp
parent11ccb57111c9974190469613eb21d2be449b53c9 (diff)
Added ToolTip support for CDB.
Make debugger tooltip API more general, have the engines check the correct file type, figure out the expression and context from the text editor. Put common functionality in watchutils.cpp. In the CDB engine, check whether a tooltip expression is a known variable within the stack frame context. If so, retrieve via symbol group or dumpers. Cache by function and expression. Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/tcfengine.cpp')
-rw-r--r--src/plugins/debugger/tcfengine.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/debugger/tcfengine.cpp b/src/plugins/debugger/tcfengine.cpp
index 32f2d96bb0f..f3bb0468817 100644
--- a/src/plugins/debugger/tcfengine.cpp
+++ b/src/plugins/debugger/tcfengine.cpp
@@ -429,11 +429,13 @@ static WatchData m_toolTip;
static QPoint m_toolTipPos;
static QHash<QString, WatchData> m_toolTipCache;
-void TcfEngine::setToolTipExpression(const QPoint &pos, const QString &exp0)
+void TcfEngine::setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos)
{
+ Q_UNUSED(mousePos)
+ Q_UNUSED(editor)
+ Q_UNUSED(cursorPos)
}
-
//////////////////////////////////////////////////////////////////////
//
// Watch specific stuff