PDA

View Full Version : What is debug mode for without MSVC?



firegun9
5th September 2007, 16:10
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.

Brandybuck
5th September 2007, 17:21
"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.