[Qt-interest] How to disable QT library in gdb

Thiago Macieira thiago at kde.org
Wed May 12 08:22:15 CEST 2010


Em Quarta-feira 12. Maio 2010, às 07.20.56, Rehan escreveu:
> Hi I am using QT-3.3.6 on linux. During debugging when I press 'n' to
> execute next command, it enters into the QT library.

Please upgrade to Qt 4. Qt 3 reached end-of-life over 3 years ago.

> Could someone please advice how I can avoid gdb to enter into the QT
> library.
> 
> On pressing 'n' it should go to the next user written code not the QT
> library code.

Build your code in debug mode. You're building in release mode, which means 
it's inlining Qt functions found in the headers.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100512/824204d1/attachment.bin 


More information about the Qt-interest-old mailing list