Results 1 to 4 of 4

Thread: How to get the values in the Locals and Watchers in Qt??

  1. #1
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    379
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default How to get the values in the Locals and Watchers in Qt??

    How to get the values in the Locals and Watchers in Qt?? Am not seeing the values of the variables during the execution time in the Locals and Watchers.. How to see the values??? Please Help me..

  2. #2
    Join Date
    Nov 2010
    Posts
    57
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to get the values in the Locals and Watchers in Qt??

    Do you have a break point in place? running it in debug?

  3. #3
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    379
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to get the values in the Locals and Watchers in Qt??

    Yes.. But nothing is shown in the values and i was not able to add watch also.. please help me..

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,734
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to get the values in the Locals and Watchers in Qt??

    Generally you can only see the content of variables in a debugger, something that Qt is not, when the program is stopped at a break point and the variables concerned are in scope. Since you have not told us what debugger you are using, whether the program is stopped at a break point, what code surrounds the break point you are stopped at, what the variables you are trying to see are, what you are actually able to see, how you are trying to set a watch... then we can hardly help any more.

Similar Threads

  1. Qstring value does not appear in locals and watchers
    By sanket.mehta in forum Qt Tools
    Replies: 5
    Last Post: 26th October 2010, 13:35
  2. concatenate two values
    By rk0747 in forum Qt Programming
    Replies: 4
    Last Post: 30th May 2010, 10:43
  3. Getting the values from xml file
    By Kokos in forum Newbie
    Replies: 1
    Last Post: 6th April 2010, 10:32
  4. QwtRasterData and values
    By DKL1972 in forum Qwt
    Replies: 12
    Last Post: 10th March 2010, 09:53
  5. No locals & watches with CDB
    By razvan.petru in forum Qt Tools
    Replies: 0
    Last Post: 6th October 2009, 11:09

Tags for this Thread

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.