Saturday, January 23, 2010

Gdb Qt pretty printers updated

I just commited an update to the Gdb Qt pretty printers, they work now for Qt 4.6. (I didn't test 4.5, but most won't work anymore I guess)

The printers need to poke around in private members, that's why they depend on a specific Qt version.

They are still located in the kdevelop git, instructions on how to enable them see here. (the svn url changed as kdevelop is now in extragear)

Unfortunately my merge request for Qt that would add them directly to Qt got rejected, so it is a bit difficult to support multiple Qt versions - for now 4.6 only is supported. Perhaps in future more people will discover this feature in Gdb and they will get added... You know where to find them.

22 comments:

  1. I really hope you keep pushing that it at some point gets pushed into main git.

    The problem here is (I've some experience with that) that the gdb devs really want the libraries to include these scripts by themselves, but nobody from gdb really advertizes that.
    I think you need to talk to the gdb guys and try to make sure that they are more proactive with this. As soon gdb says something like this officially:
    - We would like libraries to ship their own pretty printers
    - All printers installed in directory /x/y/z will be used automatically

    When that happens, there is more of an incentive to ship these scripts with the lib itself. It's the same with cmake. Cmake started to distribute modules for dozens of packages, but actually it would make most sense, if every package provides its own FindXXX.cmake script. This now starts to happen and it makes cmake again easier to use from a developer perspective.

    ReplyDelete
  2. I think that if Qt folks refuse this change, then getting GDB folks to adjust docs is rather roundabout approach, that is not likely to change anything. The fact that every library is supposed to install its own pretty printers is widely known and can be easily checked by dropping by in #gdb on freenode,
    if documentation at
    http://sourceware.org/gdb/current/onlinedocs/gdb/Auto_002dloading.html#Auto_002dloading
    seems unclear.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Are these pretty printers also available in kdevelop 4.2?

    ReplyDelete
  5. Hey,

    Did anyone ran this printers in CDT 8 (Eclipse)?

    When I use, it "disables" GDB, I can't step or view variables...

    Thanks.

    ReplyDelete
  6. Thank you for sharing a new link with us. You're one of the greatest bloggers! It was interesting to take a tour around this blog. Good for you! Kindest regards,
    http://customessay-s.com/essay_writing.php

    ReplyDelete
  7. The versions created by 3D laser printers are much less expensive in contrast to models constructed by various other methods. 3d printer

    ReplyDelete
  8. Every web solution company should provide the services in joomla website development,Wordpress development,Magento development and ecommerce development.Then only that company would considered as good web design company by consumers.
    SEO Experts Lounge
    Web Development Company in Pakistan
    Web Designing Company Pakistan
    SEO Company in Lahore
    PPC Service in Pakistan

    ReplyDelete
  9. Web Developement in Lahore. Web Developement company in pakistan. Web designing in Pakistan. Best seo company in Lahore. Best seo company in Pakistan.
    SEO Experts Lounge
    Web Development Company in Pakistan
    Web Designing Company Pakistan
    SEO Company in Lahore
    PPC Service in Pakistan

    ReplyDelete
  10. JBN Creators is dedicated to provide all-in-one eCommerce websites for your store. Here we are ready to provide you optimum support in terms of improving your business and expanding the horizon. We invite you to make use of our optimum resources so as to meet the business goal at the earliest.
    Website Designing

    ReplyDelete
  11. JBN CREATORS is Ecommerce Website Development company in DELHI. We have more than 5 years of experience serving outsourcing web development services. Provide you service in affordable price at right time. Feel Free contact us 8802969543 , 9650829282 .
    Ecommerce Website Development

    ReplyDelete
  12. Top SEO Company in Lahore Provide affordable Online marketing SEO (search engine Optimization) Packages. We are leading a Local & International SEO Consultants in Lahore, SEO Service in Lahore.
    SEO Company in Lahore

    ReplyDelete
  13. Hope your issue is resolved otherwise you can search about it on internet or ask in the forums to get an idea from others. Forums really help in resolving such issues.

    I hope it helped. Thanks!

    Regard, Zeeshan

    Web development company in Pakistan | SEO company Lahore | Web Designing in Pakistan

    ReplyDelete
  14. Nice blog! It is very informative for HP Printer users.
    Hurry Up! Call for HP Technical Support. If Your Printer creates any technical error in printing. Give us a call at HP Contact Number or HP Toll-Free Number +1-800-329-1074 and get quick support.

    HP Customer Support Number

    ReplyDelete