[Qt-creator] gdb command line

André Pönitz andre.poenitz at nokia.com
Wed Nov 3 10:45:05 CET 2010


On Wednesday 03 November 2010 09:13:35 ext Harri Pasanen wrote:
> On Tuesday, November 02, 2010 11:44:48 pm Andre Poenitz wrote:
> > On Tue, Nov 02, 2010 at 11:18:24PM +0100, Harri Pasanen wrote:
> > > I tried to look for gdb command line in Qt Creator, as I wanted to set a
> > > breakpoint to a function by name, like "b open" from gdb command line.
> > > Is there a way to do it?
> > 
> > There's a 'Break by Function' (in older version in the Debug Menu, in
> > recent versions in the Break window context menu or the breakpoint
> > properties.
> > 
> 
> Thanks for pointing me to the breakpoint window context menu.
> 
>  'Break by Function' worked as advertised.
> 
> I did have some trouble deleting that breakpoint (set on open64), but that 
> might have been an underlying gdb issue?  (Qt Creator 2.0.1, gdb 7.1-ubuntu, 
> on kubuntu 10.04 amd64).   Restarting gdb fixed it.

If just 'Delete' on the item in the Breakpoint view does not work you might
want to re-try with 2.1.0 beta or such.

> Btw. I noticed that webkit source is not included even if I have installed Qt 
> source.

Webkit source should be included, but the Webkit module is compiled without
debug information by default. This is intentional as it is _huge_ and rarely 
needed unless you develop Webkit yourself.

Andre'



More information about the Qt-creator-old mailing list