Results 1 to 3 of 3

Thread: debug build

  1. #1
    Join Date
    Jan 2011
    Posts
    212
    Thanks
    24
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default debug build

    Hello forum,


    I am trying to convert a ray tracing application to Qt, to exploit the GUI debugging capability of Qt. When i set the break point and and starts debugging i get the following error message:

    Screenshot at 2012-03-07 03:05:16.jpg


    Any idea ?


    REgards
    Sajjad

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: debug build

    Seems pretty obvious from the message - you're trying to debug an executable that was not built with debug information. If you want to debug the application, you need to build all parts of it in debug mode, including the ray tracing code. Otherwise, when you step from code built with debug to code built in release mode, you'll get the errors you see.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: debug build

    The top error is because you are running a release build.

    The bottom error is because you program has crashed, probably because of a null or invalid pointer.

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. Replies: 2
    Last Post: 3rd October 2011, 23:04
  3. Replies: 3
    Last Post: 3rd December 2009, 16:12
  4. 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
  5. Replies: 3
    Last Post: 28th December 2007, 11:02

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.