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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>DebuggerConfigWidgetBase</class>
<widget class="TQWidget">
<property name="name">
<cstring>debugger_config_widget</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>558</width>
<height>627</height>
</rect>
</property>
<property name="caption">
<string>Debugger Configuration</string>
</property>
<property name="toolTip" stdset="0">
<string></string>
</property>
<property name="whatsThis" stdset="0">
<string></string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Debug arguments can be set on the Run Options page
or directly in the project manager</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>gdbPath_label</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Debugger executable:</string>
</property>
<property name="buddy" stdset="0">
<cstring>gdbPath_edit</cstring>
</property>
</widget>
<widget class="KURLRequester">
<property name="name">
<cstring>gdbPath_edit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Gdb executable</string>
</property>
<property name="whatsThis" stdset="0">
<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>
<widget class="TQLabel">
<property name="name">
<cstring>debuggingShell_label</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Debugging &shell:</string>
</property>
<property name="buddy" stdset="0">
<cstring>debuggingShell_edit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Run gdb in a special shell (mainly for automake projects)</string>
</property>
<property name="whatsThis" stdset="0">
<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>
</widget>
<widget class="KURLRequester">
<property name="name">
<cstring>debuggingShell_edit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Run gdb in a special shell (mainly for automake projects)</string>
</property>
<property name="whatsThis" stdset="0">
<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>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Options</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>asmDemangle_box</cstring>
</property>
<property name="text">
<string>Display &demangled names</string>
</property>
<property name="whatsThis" stdset="0">
<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>
</widget>
<widget class="TQCheckBox" row="2" column="0">
<property name="name">
<cstring>breakOnLoadingLibrary_box</cstring>
</property>
<property name="text">
<string>Try settings &breakpoints on library loading</string>
</property>
<property name="whatsThis" stdset="0">
<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.
We can get GDB to 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>
</widget>
<widget class="TQCheckBox" row="4" column="0">
<property name="name">
<cstring>dbgTerminal_box</cstring>
</property>
<property name="text">
<string>Enable separate terminal for application &IO</string>
</property>
<property name="accel">
<string>Alt+I</string>
</property>
<property name="whatsThis" stdset="0">
<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>
</widget>
<widget class="TQCheckBox" row="3" column="0">
<property name="name">
<cstring>enableFloatingToolBar_box</cstring>
</property>
<property name="text">
<string>E&nable floating toolbar</string>
</property>
<property name="accel">
<string>Alt+N</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use the floating toolbar. This toolbar always stays
on top of all windows so that if the app covers KDevelop
you have control of the app through the small toolbar. It
can also be docked into the panel.
This toolbar is in addition to the toolbar in KDevelop.</string>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>displayStaticMembers_box</cstring>
</property>
<property name="text">
<string>Display static &members</string>
</property>
<property name="accel">
<string>Alt+M</string>
</property>
<property name="whatsThis" stdset="0">
<string>Displaying static members makes GDB slower in
producing data within KDE and Qt.
It may change the "signature" of the data
which TQString and friends rely on,
but if you need to debug into these values then
check this option.</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>globalOutputRadix</cstring>
</property>
<property name="title">
<string>Global Output Radix</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>outputRadixOctal</cstring>
</property>
<property name="text">
<string>Oct&al</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>outputRadixHexadecimal</cstring>
</property>
<property name="text">
<string>He&xadecimal</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>outputRadixDecimal</cstring>
</property>
<property name="text">
<string>Decimal</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup2</cstring>
</property>
<property name="title">
<string>Start Debugger With</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>radioFramestack</cstring>
</property>
<property name="text">
<string>Framestack</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>radioGDB</cstring>
</property>
<property name="text">
<string>GDB Output</string>
</property>
</widget>
</vbox>
</widget>
</vbox>
</widget>
</hbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Remote Debugging</string>
</property>
<property name="whatsThis" stdset="0">
<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>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout1</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>runShellScript_label</cstring>
</property>
<property name="text">
<string>R&un shell script:</string>
<comment>Shell script to be executed at run time</comment>
</property>
<property name="buddy" stdset="0">
<cstring>runShellScript_edit</cstring>
</property>
<property name="toolTip" stdset="0">
<string></string>
</property>
</widget>
<widget class="KURLRequester" row="2" column="1">
<property name="name">
<cstring>runGdbScript_edit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Script to connect with remote application</string>
</property>
<property name="whatsThis" stdset="0">
<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>
<widget class="KURLRequester" row="1" column="1">
<property name="name">
<cstring>runShellScript_edit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Script to start remote application</string>
</property>
<property name="whatsThis" stdset="0">
<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>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>runGdbScript_label</cstring>
</property>
<property name="text">
<string>Run &gdb script:</string>
<comment>Gdb script to be executed at run time.</comment>
</property>
<property name="buddy" stdset="0">
<cstring>runGdbScript_edit</cstring>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>configGdbScript_label</cstring>
</property>
<property name="text">
<string>&Config gdb script:</string>
</property>
<property name="buddy" stdset="0">
<cstring>configGdbScript_edit</cstring>
</property>
</widget>
<widget class="KURLRequester" row="0" column="1">
<property name="name">
<cstring>configGdbScript_edit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Gdb configure script</string>
</property>
<property name="whatsThis" stdset="0">
<string>This script is sourced by gdb when the debugging starts.</string>
</property>
</widget>
</grid>
</widget>
</vbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<tabstops>
<tabstop>debuggingShell_edit</tabstop>
<tabstop>gdbPath_edit</tabstop>
<tabstop>displayStaticMembers_box</tabstop>
<tabstop>asmDemangle_box</tabstop>
<tabstop>breakOnLoadingLibrary_box</tabstop>
<tabstop>enableFloatingToolBar_box</tabstop>
<tabstop>dbgTerminal_box</tabstop>
<tabstop>outputRadixOctal</tabstop>
<tabstop>outputRadixDecimal</tabstop>
<tabstop>outputRadixHexadecimal</tabstop>
<tabstop>configGdbScript_edit</tabstop>
<tabstop>runShellScript_edit</tabstop>
<tabstop>runGdbScript_edit</tabstop>
</tabstops>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>
</includehints>
</UI>
|