1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DebuggerConfigWidget</class>
<widget class="QWidget" name="DebuggerConfigWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>578</width>
<height>638</height>
</rect>
</property>
<property name="windowTitle">
<string>Debugger Configuration</string>
</property>
<property name="toolTip">
<string/>
</property>
<property name="whatsThis">
<string/>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QLabel" name="gdbPath_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Debugger executable:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>kcfg_gdbPath</cstring>
</property>
</widget>
</item>
<item>
<widget class="KUrlRequester" name="kcfg_gdbPath">
<property name="toolTip">
<string>Gdb executable</string>
</property>
<property name="whatsThis">
<string>To run "gdb" binary from $PATH, leave this field empty. To run custom gdb, for example, for a different architecture, enter the executable name here. You can either run gdb from $PATH, but with a different name (say, "arm-gdb"), by typing the name here, or specify full path to the gdb executable.</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="debuggingShell_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Run gdb in a special shell (mainly for automake projects)</string>
</property>
<property name="whatsThis">
<string>If you want gdb to be executed by a special shell or tool insert it here. The main use-case is for Automake based projects where the application is actually only a script and libtool is needed to get it to run inside gdb.</string>
</property>
<property name="text">
<string>Debugging &shell:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>kcfg_debuggingShell</cstring>
</property>
</widget>
</item>
<item>
<widget class="KUrlRequester" name="kcfg_debuggingShell">
<property name="toolTip">
<string>Run gdb in a special shell (mainly for automake projects)</string>
</property>
<property name="whatsThis">
<string>If you want gdb to be executed by a special shell or tool insert it here. The main use-case is for Automake based projects where the application is actually only a script and <b>libtool</b> is needed to get it to run inside gdb.</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Options</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QCheckBox" name="kcfg_displayStaticMembers">
<property name="whatsThis">
<string>Displaying static members makes GDB slower in
producing data within KDE and Qt.
It may change the "signature" of the data
which QString and friends rely on,
but if you need to debug into these values then
check this option.</string>
</property>
<property name="text">
<string>Display static &members</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_asmDemangle">
<property name="whatsThis">
<string>When displaying the disassembled code you
can select to see the methods' mangled names.
However, non-mangled names are easier to read.</string>
</property>
<property name="text">
<string>Display &demangled names</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_breakOnLoadingLibrary">
<property name="whatsThis">
<string>If GDB has not seen a library that will be loaded via
"dlopen" then it will refuse to set a breakpoint in that code.
With this option, GDB will stop on a library load and hence
try to set the pending breakpoints. See the documentation
for more details relating to this behavior.
If you are not "dlopen"ing libs then leave this unchecked.</string>
</property>
<property name="text">
<string>Try setting &breakpoints on library loading</string>
</property>
</widget>
</item>
<!--
<item>
<widget class="QCheckBox" name="kcfg_dbgTerminal">
<property name="whatsThis">
<string>This allows you to enter terminal input when your
application contains terminal input code (e.g. cin, fgets, etc.).
If you use terminal input in your application then check this option.
Otherwise leave it unchecked.</string>
</property>
<property name="text">
<string>Enable separate terminal for application &IO</string>
</property>
</widget>
</item>
-->
<item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="whatsThis">
<string>This script is intended for the actual commands needed to connect to a remotely running executable.
shell sleep 5 wait for remote program to start
target remote ... connect to the remote debugger
continue [optional] run debugging to the first breakpoint</string>
</property>
<property name="title">
<string>Remote Debugging</string>
</property>
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="configGdbScript_label">
<property name="text">
<string>&Config gdb script:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>kcfg_configGdbScript</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KUrlRequester" name="kcfg_configGdbScript">
<property name="toolTip">
<string>Gdb configure script</string>
</property>
<property name="whatsThis">
<string>This script is sourced by gdb when the debugging starts.</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="runShellScript_label">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string comment="Shell script to be executed at run time">R&un shell script:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>kcfg_runShellScript</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KUrlRequester" name="kcfg_runShellScript">
<property name="toolTip">
<string>Script to start remote application</string>
</property>
<property name="whatsThis">
<string>This shell script is run after the Config gdb script has been sourced by gdb.
When debugging remotely this script is intended to actually start the remote process.
[It is expected that the debug executable can be reached on the target, maybe by downloading it as a final build step]
1) Find a way to execute a command remotely - rsh, ssh, telnet, ...
2a) Execute "gdbserver ... application" on target.
or if your executable contains the gdb stub
2b) Execute "application" on target.</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="runGdbScript_label">
<property name="text">
<string comment="Gdb script to be executed at run time.">Run &gdb script:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>kcfg_runGdbScript</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KUrlRequester" name="kcfg_runGdbScript">
<property name="toolTip">
<string>Script to connect with remote application</string>
</property>
<property name="whatsThis">
<string>This script is sourced by gdb after the two preceding scripts have been executed.
This script is intended for the actual commands needed to connect to a remotely running executable.
shell sleep 5 wait for remote program to start
target remote ... connect to the remote debugger
continue [optional] run debugging to the first breakpoint.</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KUrlRequester</class>
<extends>QFrame</extends>
<header>kurlrequester.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>kcfg_debuggingShell</tabstop>
<tabstop>kcfg_gdbPath</tabstop>
<tabstop>kcfg_displayStaticMembers</tabstop>
<tabstop>kcfg_asmDemangle</tabstop>
<tabstop>kcfg_breakOnLoadingLibrary</tabstop>
<tabstop>kcfg_dbgTerminal</tabstop>
<tabstop>kcfg_configGdbScript</tabstop>
<tabstop>kcfg_runShellScript</tabstop>
<tabstop>kcfg_runGdbScript</tabstop>
</tabstops>
<includes>
<include location="local">kurlrequester.h</include>
<include location="local">klineedit.h</include>
<include location="local">kpushbutton.h</include>
<include location="local">kurlrequester.h</include>
<include location="local">klineedit.h</include>
<include location="local">kpushbutton.h</include>
<include location="local">kurlrequester.h</include>
<include location="local">klineedit.h</include>
<include location="local">kpushbutton.h</include>
<include location="local">kurlrequester.h</include>
<include location="local">klineedit.h</include>
<include location="local">kpushbutton.h</include>
<include location="local">kurlrequester.h</include>
<include location="local">klineedit.h</include>
<include location="local">kpushbutton.h</include>
</includes>
<resources/>
<connections/>
</ui>
|