Results 1 to 8 of 8

Thread: Is there any trick to view better debug information ?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Is there any trick to view better debug information ?

    My locals and watchers window offers usefull information.
    However, I can't see 'human' readable information for Qstrings, strings, chars, vectors.
    The window shows a tree with a lot of information but it is a terrible task to try to see anything.
    Is there any trick ?
    Is a better future for this ?
    Thanks.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there any trick to view better debug information ?

    What IDE are you using?

  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there any trick to view better debug information ?

    I'm using qtcreator 2.1
    Thanks

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Is there any trick to view better debug information ?

    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  5. #5
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there any trick to view better debug information ?

    Hello again.
    I can't get a correct setup
    I show you a printscreen piece...
    Is very difficutl to check qstring and other values ....
    Is there any solution?
    Thanks
    Attached Images Attached Images

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is there any trick to view better debug information ?

    Did you rebuild the debugging helper as suggested?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there any trick to view better debug information ?

    Rebuild ? mmm, I dont see any rebuild advise ....
    I only can play with some check options .
    I send you my 2 tab/ debug properties setup.
    -
    Thanks
    Attached Images Attached Images

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is there any trick to view better debug information ?

    And you did try to check the box saying that when you check it, you get nice debugging output for classes like QString?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Value inspection in the debug view
    By sajis997 in forum Qt Tools
    Replies: 1
    Last Post: 22nd August 2011, 21:46
  2. Replies: 1
    Last Post: 24th March 2011, 14:38
  3. Stupid Windows Compilation Trick
    By skepticalgeek in forum Qt Programming
    Replies: 19
    Last Post: 14th September 2010, 17:39
  4. QString Trick please
    By baray98 in forum Qt Programming
    Replies: 1
    Last Post: 24th May 2008, 00:58
  5. Replies: 4
    Last Post: 7th March 2007, 09:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.