[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Fw: Re: Aw: Re: Information regarding debuggin STL in eclipse
|
Well, let's just say I gave that link the "college" try. Here are the issues with that Wiki page, at least on the Mac.
1: The wiki talks about gdb 7.2 but the download links to gdb 7.4
2: The patches do not have the filenames that the instructions define.
3: One of the patches seems to be missing
4: On OS X it would seem that they have you building all sorts of versions of GDB.
Since I can't read anybody's mind as to what I _really_ need to do to actually get all of this compiled then it is really a mute point to try any of this. I also seem to recall that in order to use gdb one has to sign gdb with some sort of certificate which most of us do not have.
I tried downloading Qt Creator 2.4.x (latest stable) but that relies on the system gdb. At the bottom of the wiki page there are links for what seems to be a precompiled gdb but those just seem to be the executables but not any of the supporting libraries or anything else. I would expect a full gdb install to have more than just a single gdb executable. I could be wrong on that.
Anyways, clearly there are still issues for a "mere mortal" to actually get gdb with python and some pretty prints up and running on OS X. So I'll just stick with Visual Studio since it seems to have all of this "Built in".
--
Mike Jackson <www.bluequartz.net>
On Apr 18, 2012, at 5:23 AM, Axel Müller wrote:
> -------- Original message --------
> Instructions to build gdb with python support are here http://qt-project.org/wiki/QtCreatorBuildGdb
> This includes Mac.
>
> Axel
>
> Gesendet: Mittwoch, 18. April 2012 um 08:22 Uhr
> Von: xgsa <xgsa@xxxxxxxxx>
> An: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
> Cc: "Axel Müller" <aegges@xxxxxx>
> Betreff: Re: [cdt-dev] Information regarding debuggin STL in eclipse
> But QtCreator also relies on GDB and its builtin python interpreter for the
> pretty printing. The only difference is that they ship gdb with QtCreator.
>
> AFAIK Qt Creator relies on its own native or python-based dumpers system and does not use pretty printers at all [1]. Now native dumpers are considered as deprecated on all of the platforms except Mac because of troubles with python enabled gdb. It seems in some news I have read that Nokia works on its own version of python enabled gdb that will work properly on Mac. Unfortunately I cannot find a link now.
>
> [1] - http://doc.qt.nokia.com/qtcreator-2.3/creator-debugging-helpers.html
>
> To get pretty printers for Qt and STL working with CDT you must install a
> recent gdb with python support. You can only get it from MacPorts or so.
> Google is your friend to get some instructions.
>
> I could help with a links to pretty printers I use:
> - Qt & KDE pretty printers
> - Boost pretty printers
> - STL Port pretty printers
>
> - Anton
>
>
>
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev