Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugging nested lists
Forum Updated to NodeBB v4.3 + New Features

Debugging nested lists

Scheduled Pinned Locked Moved General and Desktop
qt creator 3.4debugginggdb
1 Posts 1 Posters 957 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alex Court
    wrote on 25 Jun 2015, 17:03 last edited by
    #1

    Hello,

    I am attempting to debug a relatively basic C++ application, for which a data structure I have created is a QList<QList<double>>.

    While debugging with GDB (pretty printers turned on and whatnot) I can successfully view the contents of a QList<double> (whereby contents I mean the double values). However, when I attempt to look into my nested list of doubles I can not see the contents of the inner lists. I can see that the outer list has N values of type QList<double>, but then when I expand that item I see QListSpecialMethods<>, d, and p. 'd' is a QListData::Data* and 'p' is of type QListData.

    Can anyone provide instruction to add an expression evaluator, or potentially something into 'Additional Startup Commands' for GDB (Tools->Options->Debugger->GDB) such that I can view the contents of this nested list?

    Thanks

    1 Reply Last reply
    0

    1/1

    25 Jun 2015, 17:03

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved