GDB Not Working with configuration set to "Debug"



  • Hi, I'm running Windows 7, 64 bit, with MinGW (4.4 - the default that comes with the QtSDK), and have all of my components updated to their latest version.

    Unfortunately, the pythongdb .exe won't recognize my breakpoints. The debugger will simply stall for a minute or so after the program has run. I'm not getting any segmentation faults, or anything, but I need to desperately debug my application.

    What could be the issue here? Is there anything I can post?

    Compiler Output

    @
    18:23:59: Running build steps for project eng-optimo...
    18:23:59: Configuration unchanged, skipping qmake step.
    18:23:59: Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe"
    C:/QtSDK/mingw/bin/mingw32-make.exe -f Makefile.Debug
    mingw32-make.exe[1]: Entering directory C:/Users/Holland/Documents/code/git/virtual-engine/eng-optimo/MinGW_Debug' mingw32-make.exe[1]: Nothing to be done forfirst'.
    mingw32-make.exe[1]: Leaving directory `C:/Users/Holland/Documents/code/git/virtual-engine/eng-optimo/MinGW_Debug'
    18:23:59: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited normally.
    @

    .pro File

    @
    CONFIG += qt console
    QT += core gui

    #QMAKE_CXX_FLAGS += -std=c++0x

    QMAKE_CXXFLAGS += -std=c++0x -g

    SOURCES +=
    main.cpp
    ViMain.cpp
    ViShape.cpp
    ViCube.cpp
    ViShader.cpp
    ViBufferObject.cpp
    ViGraphicsTesting.cpp
    ViGlut.cpp
    ViEngine.cpp

    HEADERS +=
    StdAfx.h
    ViMain.h
    ViShape.h
    ViCube.h
    ViShader.h
    ViBufferObject.h
    ViGraphicsTesting.h
    ViGlut.h
    ViEngine.h

    win32:LIBS += -lopengl32 -lglu32 -lfreeglut -lglew32 -lSDL
    unix:LIBS += -lGL -lGLU -lglut -lGLEW -L/usr/lib/libpng12.so -lSDL
    @


  • Moderators

    What does the debugger log (top right area of the debug mode IIRC) say?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.