Hi all,

I'm having problems debugging a very simple Qt app in Windows under gdb. I'm using MinGW to compile it. I have compiled Qt for debugging and gdb seems to load the symbols for my application just fine. If I don't put any breakpoints in there, gdb even runs the application normally in the gdb environment. The problem comes about when I put a breakpoint in my application. Once I do this, I get segmentation faults when I try to run the application under gdb. When I remove the breakpoints, gdb seems to run the app just fine again.

I know this must be something specific to Qt since I tried a very simple "hello world" app (w/o any Qt) and gdb handled this application just fine (breakpoints and all). For some reason it just chokes on breakpoints in my ultra-simple Qt app.

Does anyone have any ideas what could be going wrong here?

Thanks for your help!