[Qt-creator] Advanced GDB commands

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Fri Jan 30 15:53:49 CET 2009


On Thu, Jan 29, 2009 at 02:41:27PM -0800, pablo a maurin wrote:
> First of all, let me say thank you for developing this IDE.  It is
> clean and has a lot of potential.
> 
> I use gdb a for debugging my applications.  Usually, through ddd.  One
> of the best features of ddd is the availability of the GDB command
> line.  This gives the user full access to all functions in gdb.
> 
> In particular, I am trying to debug an application which relies on
> Unix signals for notification of events.  I do not want gdb to break,
> when such a signal has occurred.  In these cases, I just tell gdb
> 'handle SIGUSR1 nostop noprint pass'.  I cannot find a way to uses
> these more advanced functions of gdb though the debugger interface in
> Qt Creator.

You can enter single commands in the left pane of the "Gdb View" and
"send" them to gdb by pressing Ctrl-Enter.

If you have commands that you want to be executes each time the debugger
starts you can put them into a plain text file and enter the path
under Tools -> Options -> Debugger -> Gdb Startup Script.

Regards,
Andre'



More information about the Qt-creator-old mailing list