[Qt-creator] gdb command line

Harri Pasanen grego at mpaja.com
Wed Nov 3 09:13:35 CET 2010


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.

Btw. I noticed that webkit source is not included even if I have installed Qt 
source. Once I've compiled everything I'll put the debugger to through its 
paces and will report back if I encounter any Qt Creator / debugger related 
issues.


-- 
Grego
http://mpaja.com/



More information about the Qt-creator-old mailing list