Results 1 to 5 of 5

Thread: How to debug in Qt?

  1. #1
    Join Date
    Apr 2010
    Location
    Singapore
    Posts
    156
    Thanks
    47
    Qt products
    Qt4
    Platforms
    Windows

    Question How to debug in Qt?

    How to debug in Qt? I find that I am not able to set breakpoints.Is there a way to set breakpoints?
    Or are there other ways to debug ?

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to debug in Qt?

    What IDE are you using?
    Do you have GDB installed?

  3. #3
    Join Date
    Apr 2010
    Location
    Singapore
    Posts
    156
    Thanks
    47
    Qt products
    Qt4
    Platforms
    Windows

    Question Re: How to debug in Qt?

    Quote Originally Posted by tbscope View Post
    What IDE are you using?
    Do you have GDB installed?
    I'm using Qt Creator.
    What is GDB? I don't think I have it installed because it is not part of the Qt installation package I think.

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to debug in Qt?

    GDB is part of the installation package.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to debug in Qt?

    Quote Originally Posted by babygal View Post
    How to debug in Qt? I find that I am not able to set breakpoints.Is there a way to set breakpoints?
    Or are there other ways to debug ?
    How are you trying to set breakpoints?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Qt + Linux + Eclipse - debug using debug build?
    By will49 in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2012, 06:27
  2. DEBUG macro not defined in debug build using vc++
    By piotr.dobrogost in forum Qt Programming
    Replies: 0
    Last Post: 21st July 2009, 13:07
  3. "Debug Assertion failed" in debug mode
    By hed in forum Qt Programming
    Replies: 10
    Last Post: 4th February 2008, 12:10
  4. Replies: 11
    Last Post: 22nd March 2006, 19:06
  5. qt debug
    By tikismikis in forum Qt Programming
    Replies: 4
    Last Post: 13th March 2006, 11:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.