You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
438 lines
21 KiB
438 lines
21 KiB
<!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 TDevelop
|
|
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 TDevelop.</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 TDE and TQt.
|
|
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>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
|
<includes>
|
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
|
<include location="global" impldecl="in implementation">kurlrequester.h</include>
|
|
</includes>
|
|
</UI>
|