gdb doesn't work well with qtcreator

Konstantin Tokarev annulen at yandex.ru
Thu Aug 9 11:55:12 UTC 2012



09.08.2012, 15:50, "HU Dong" <itechbear at gmail.com>:
> Hi,all!
>     I just installed devel/qtcreator from port. Everything seemed to
> work fine except the debugger. At first I set it to /usr/bin/gdb, it
> simply crashed when I started debugging, with a dialog reporting "The
> gdb process crashed." Then I installed devel/gdb and set the debugger
> to /usr/local/bin/gdb, qtcreator reported that "Application process
> could not be stopped:The program is not being run." and "Cannot
> continue debugged process:The program is not being run."
>     I've spent much time searching on the internet, but found nothing
> helpful. Did anyone run into the same problem?
>
>     Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
> 01:47:53 UTC 2012
> root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Which version og gdb are you using? Qt Creator officially requires gdb >= 7.2,
and may have issues with earlier versions.

Maybe it's worthwhile to ask on qt-creator at qt-project.org too.

-- 
Regards,
Konstantin


More information about the freebsd-ports mailing list