Results 1 to 2 of 2

Thread: What is debug mode for without MSVC?

  1. #1
    Join Date
    Jun 2007
    Posts
    4
    Thanks
    1

    Default What is debug mode for without MSVC?

    Hi,

    As to me understanding, "debug mode" is a term that first created in MS Visual Studio. In debug mode, more variable details can be checked in the middle of the program.

    I just installed Qt4+mingw32+slickedit, and I found Qt produces two Makefiles by default, one for debug and one for release. I also found that the .exe file build in debug mode is bigger, but I don't know what I can do in building debug files without MSVC. Is there any debug tool designed for this? Please correct me if I got something wrong.

  2. #2
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: What is debug mode for without MSVC?

    "Debug mode" has been around a lot longer than MSVC. The debug executables are bigger because they include symbol names and such. To debug, you will need a debugger that is compatible with the compiler. For the MSVC compiler you use MSVC debugger. For GNU C++ (MinGW) you need the GNU debugger, gdb. I don't know if MinGW comes with gdb or not. If it doesn't, you can get it from a variety of places.

  3. The following user says thank you to Brandybuck for this useful post:

    firegun9 (5th September 2007)

Similar Threads

  1. Difference between Debug and Release Mode
    By sunil.thaha in forum Qt Programming
    Replies: 2
    Last Post: 5th May 2013, 13:31
  2. Error compiling Qt 4.0 in Debug mode
    By Doug Broadwell in forum Installation and Deployment
    Replies: 1
    Last Post: 11th October 2006, 08:15
  3. Problem with Debug mode in KDevelop
    By zlatko in forum KDE Forum
    Replies: 1
    Last Post: 16th June 2006, 09:10
  4. Unable to execute in Debug Mode
    By Kapil in forum Installation and Deployment
    Replies: 38
    Last Post: 5th April 2006, 07:27
  5. How to build in debug mode?
    By Weilor in forum Newbie
    Replies: 5
    Last Post: 15th February 2006, 14: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.