RE: [cdt-dev] Possible to use the qtc-debugging-helper (Either DSF/CDI)
Title: Re: [cdt-dev] Possible to use the qtc-debugging-helper (Either DSF/CDI)
Another way to solve the issue of getting Qt types printed
on Mac would be to migrate
the EDC variable formatter and this new symbolic types
support down to DSF.
The nice thing is that this effort would not be
Mac-specific anymore and would make this new
feature available to any integrator that uses
Just a thought.
The reason we had to keep the custom variable
formatting framework in EDC was because it was dependent on the new symbolic
types support which was only added to EDC.
On 4/9/10 9:36 AM,
"Paul Warren" <Warren.Paul@xxxxxxxxx>
We've designed a powerful variable formatter in EDC
which does the basics like being able to change the display in the details
pain, but also optionally allowing the children of the variable to be
changed as well. It also will allow (not fully implemented yet)
modifying the value in formatted form. We will have support for Qt
types in this solution (also not yet implemented).
don't think this does much to help you out since EDC doesn't currently work
on Mac, only Windows and Linux. It would be great to have someone do a
TCF debug agent on Mac though. :) Maybe you can focus your time
on that and we'll provide the Qt formatting aspect?
I should mention
that we really wanted to and tried to make this feature non-EDC specific,
but there were some technically reasons why it wouldn't work that I can't
recall right now. :) It may be that only some of it is EDC specific,
I'm not sure. David Dubrow might chime in if he's
On Behalf Of ext Michael Jackson
>Sent: Friday, April 09, 2010 9:20
>To: CDT General developers list.
>Subject: Re: [cdt-dev]
Possible to use the
>I forgot to mention that I am on "that troublesome
platform, OS X"
>where the only GDB that seems to work is the one
>which is like version 6.3 or something like that so using
>Python Pretty Printers will not work for this particular
>Now obviously since QtCreator does this sort of
thing DSF GDB
>should be able to be made to do it also. I just
>absolutely NO idea where I would start looking. Even a
>together proof of concept would motivate me to spend some
>nights getting something together.
>On Apr 9, 2010, at 10:13
AM, Elmenthaler, Jens wrote:
>> If you use gdb, you might
want to check the python pretty printers
>> being supported by gdb
7.0 and later.
>> It effectively means to translate
>> python pretty
printers, but this might be valuable anyway.
gdb integrations (DSF GDB would require the upcoming CDT 7.0)
have basic support for the pretty printers. Basic support means
>> info provided by the pretty printers appears in the details
>> variables and expressions view. But the children
>variables are not
>> the ones provided by the pretty
>> I'm working on fully enabling them in the
variables and expressions
>> view (bug302121). That, however, will
only work in DSF GDB.
>>> -----Original Message-----
>>> bounces@xxxxxxxxxxx] On Behalf Of Michael
>>> Sent: Freitag, 9. April 2010 16:04
To: CDT General developers list.
>>> Subject: [cdt-dev] Possible
to use the qtc-debugging-helper (Either
>>> I do a
bunch of Qt programming and I prefer to use Eclipse CDT to
do my programming. The major hurdle that I have currently
>>> debug Qt based code. Due to the design
of the Qt classes when trying
>>> to get the "value" of things
like a QString gdb will just
>send back a
address that isn't really helpful. With Qt-Creator the
engineers at Nokia have implemented the qtc-debugging-helper
>>> which your project can link
>>> What I was wondering
would be what type of code updates to CDT
>>> (Either in CDI or
DSF) would have to go into place in oder to
>>> effectively use
the code contained in the qtc-debugging-helper
Looking through the qtc-debugging-helper library it seems
there are "pretty-printers" for the Qt Classes which can then be
>>> back to the IDE making the request to
display more helpful values
>>> of a
rather then the internal pointer.
I am motivated enough to start hacking in CDT to at least
>>> out if this type of thing is even possible. Even
>would be some
>>> help from Nokia to point me in
the right direction ;-) ***
Principal Software Engineer mike.jackson@xxxxxxxxxxxxxx
>>> *** I know this is basically helping
out a rival product
Eclipse CDT) but I think would still be seen as a Win-Win for
>> cdt-dev mailing