Results 1 to 10 of 10

Thread: Xcode Qt4 Custom Data Formatters (for viewing in the debugger)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Xcode Qt4 Custom Data Formatters (for viewing in the debugger)

    Does anybody know will it work with xcode4? I get compilation error, it can find this file:
    #include "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Headers/DataFormatterPlugin.h"

  2. #2
    Join Date
    Apr 2013
    Posts
    4
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Xcode Qt4 Custom Data Formatters (for viewing in the debugger)

    Hello

    Thank you for this formatter, it is very useful indeed.

    However, I am having some troubles using it. Though it works in principle, the xCode debugger does not always display the contents of a variable. Sometimes, "out of scope" is displayed although the variable should be known, or the format string itself is displayed instead its evaluation. Also, sometimes the summary is not updated until one or two additional code lines are executed.

    Originally, code optimizations were activated. Deactivating them did help but not entirely remove the above symptoms. Are there other build settings interfering with the formatter? Is there a way to enforce an update of the summary of a variable or is there any other way to avoid the described problems?

    I am using xCode 3.2.6 64-bit (for compatibility reasons, so an update to xCode 4 won't be an option)

    Thanks a lot.

Similar Threads

  1. QFileSystemModel: creating custom rows of data
    By masterlaws in forum Qt Programming
    Replies: 3
    Last Post: 12th August 2013, 11:58
  2. Debugger problem retrieving data for watch view hangs
    By frenk_castle in forum Installation and Deployment
    Replies: 0
    Last Post: 5th May 2010, 23:09
  3. Using QVariant with custom data type
    By QAlex in forum Qt Programming
    Replies: 3
    Last Post: 4th December 2009, 12:04
  4. Get custom data from qstandarditem?
    By alexandernst in forum Newbie
    Replies: 3
    Last Post: 11th August 2009, 03:24
  5. QAbstractTableModel , custom data
    By akon in forum Newbie
    Replies: 0
    Last Post: 17th April 2009, 16:03

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.