Closed maarten-ic closed 1 year ago
Note: instead of xterm, you can also use other terminals (that probably look better). For example, gnome-terminal:
implementations:
<component>:
executable: /usr/bin/gnome-terminal
args:
- --tab
- --active
- --title="MUSCLE3 wrapper"
- -- /usr/bin/gdb --args <executabe> <args...>
When you have access to a graphical environment, a nice debugging trick is to do:
This opens a new
xterm
and starts the GNU debugger pointing to your actually executable.On non-GUI environments a similar thing can be achieved with GNU screen:
Which starts a detached
screen
session calledgdb_session
. You can attach to this session when executing (in a separate command line):Note: this should not be a detailed explanation on how to use
gdb
and/orscreen
: there's plenty of information on either on the internet.