diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 420c17d4b1576d380e67ec15438ff5ed5e94f3da..243aaad86af367bb2bc866e64a2bf513cdb53da2 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -318,27 +318,25 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev) // Offer to open address pointed to or variable address. const bool createPointerActions = pointerValue && pointerValue != address; - const QString openMemoryEditorFormat = tr("Open Memory Editor at 0x%1"); if (canShowMemory && address) actOpenMemoryEditAtVariableAddress = - new QAction(openMemoryEditorFormat.arg(address, 0, 16), &menu); + new QAction(tr("Open Memory Editor at Object's Address (0x%1)").arg(address, 0, 16), &menu); if (createPointerActions) actOpenMemoryEditAtPointerValue = - new QAction(openMemoryEditorFormat.arg(pointerValue, 0, 16), &menu); + new QAction(tr("Open Memory Editor at Referenced Address (0x%1)").arg(pointerValue, 0, 16), &menu); menu.addSeparator(); QAction *actSetWatchPointAtVariableAddress = 0; QAction *actSetWatchPointAtPointerValue= 0; const bool canSetWatchpoint = engineCapabilities & WatchpointCapability; if (canSetWatchpoint && address) { - const QString watchPointFormat = tr("Break on Changing Contents of 0x%1"); actSetWatchPointAtVariableAddress = - new QAction(watchPointFormat.arg(address, 0, 16), &menu); + new QAction(tr("Break on Changes at Object's Address (0x%1)").arg(address, 0, 16), &menu); actSetWatchPointAtVariableAddress->setCheckable(true); actSetWatchPointAtVariableAddress->setChecked(m_manager->breakHandler()->watchPointAt(address)); if (createPointerActions) { actSetWatchPointAtPointerValue = - new QAction(watchPointFormat.arg(pointerValue, 0, 16), &menu); + new QAction(tr("Break on Changes at Referenced Address (0x%1)").arg(pointerValue, 0, 16), &menu); actSetWatchPointAtPointerValue->setCheckable(true); actSetWatchPointAtPointerValue->setChecked(m_manager->breakHandler()->watchPointAt(pointerValue)); }