Sunday, July 6th 2008, 2:14pm UTC+1

You are not logged in.

  • Login
  • Register

1

Monday, March 24th 2008, 1:59pm

gdb for qt-win-opensource-4.[34].x-mingw

Hi All,
I seem unable to debug using recent versions of qt & MinGW.

  1. I installed from scratch the latest versions of qt (I'm trying now the latest qt-win-opensource-4.4.0-beta1-mingw.exe, but I tried several versions).
  2. I let the installer to download and install the MinGW version it likes (currently gcc-3.4.5).
  3. This version apparently does *not* include a debugger.
  4. I then downloaded manually gdb-6.7.50.20071127-mingw.tar.bz2 and installed it.
  5. First problem is this last installation needs to overwrite some files already installed by the MinGW installer with a different version.
  6. This installation works for simple programs, but when I try to debug a sizable, qt-based, multithreaded program gdb consistently crashes with the error box stating "gdb.exe has encountered a problem and needs to close".
  7. I'm using eclipse/CDT with the qt-eclipse-plugin as IDE, but I do not think this is relevant because gdb crashes even if called from the commandline.
    [/list=1]
    Can someone, please, point me in the right direction?

    Thanks in Advence
    ZioNemo
  • Go to the top of the page

Rate this thread