From 68dd62b4834134aaaefbbdb5a2fc8def5fcaa117 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 29 Mar 2011 13:17:01 +0200 Subject: [PATCH] debugger: add tooltips to gdb settings window Reviewed-by: Friedemann Kleint --- src/plugins/debugger/debuggeractions.cpp | 3 -- src/plugins/debugger/gdb/gdboptionspage.ui | 54 ++++++++++++++++------ 2 files changed, 40 insertions(+), 17 deletions(-) diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp index 0d0fc34d07c..d11436f8658 100644 --- a/src/plugins/debugger/debuggeractions.cpp +++ b/src/plugins/debugger/debuggeractions.cpp @@ -429,9 +429,6 @@ DebuggerSettings::DebuggerSettings(QSettings *settings) item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("SkipKnownFrames")); item->setText(tr("Skip Known Frames")); - item->setToolTip(tr("Selecting this results in well-known but usually " - "not interesting frames belonging to reference counting and " - "signal emission being skipped while single-stepping.")); item->setCheckable(true); item->setDefaultValue(false); insertItem(SkipKnownFrames, item); diff --git a/src/plugins/debugger/gdb/gdboptionspage.ui b/src/plugins/debugger/gdb/gdboptionspage.ui index 1584f134d13..6a6e3f13feb 100644 --- a/src/plugins/debugger/gdb/gdboptionspage.ui +++ b/src/plugins/debugger/gdb/gdboptionspage.ui @@ -2,6 +2,14 @@ GdbOptionsPage + + + 0 + 0 + 398 + 412 + + @@ -32,10 +40,17 @@ - + + + This is the number of seconds Qt Creator will wait before +it terminates non-responsive gdb process. The default value of 20 seconds +should be sufficient for most applications, but there are situations when +loading big libraries or listing source files takes much longer than that +on slow machines. In this case, the value should be increased. + Gdb timeout: @@ -68,51 +83,62 @@ on slow machines. In this case, the value should be increased. - - - Enable reverse debugging - - - - - When this option is checked, 'Step Into' compresses several steps into one in certain situations, leading to 'less noisy' debugging. So will, e.g., the atomic - reference counting code be skipped, and a single 'Step Into' for a signal emission will end up directly in the slot connected to it. + When this option is checked, 'Step Into' compresses several steps into one in certain situations, leading to 'less noisy' debugging. So will, e.g., the atomic reference counting code be skipped, and a single 'Step Into' for a signal emission will end up directly in the slot connected to it. Skip known frames when stepping - + + + This will show a message box as soon as your application receives a signal like SIGSEGV during debugging. + Show a message box when receiving a signal - + + + Gdb allows setting breakpoints on source lines for which no code was generated. In such situations the breakpoint is shifted to the next source code line for which code was actually generated. This option reflects such temporary change by moving the breakpoint markers in the source code editor. + Adjust breakpoint locations - + + + This allows or inhibits reading the user's default .gdbinit file on debugger startup. + Load .gdbinit file on startup - + Use asynchronous mode to control the inferior + + + + Enable reverse debugging Selecting this enables reverse debugging. NOTE: This feature is very slow and unstable on the gdb side. It exhibits unpredictable behaviour when going backwards over system calls and is very likely to destroy your debugging session. + + + Enable reverse debugging + + +