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. Linux debugging, is it possible to view the data for an object that you have a pointer to in the debugger?
Forum Updated to NodeBB v4.3 + New Features

Linux debugging, is it possible to view the data for an object that you have a pointer to in the debugger?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 729 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.
  • P Offline
    P Offline
    pwnstar23
    wrote on last edited by
    #1

    I have a Visual Studio project I ported over to linuxMint15KDE using QtCreator2.8 gcc, it compiles and runs, but while trying to debug a rendering error I have pointers to objects in my code but only the value of the pointer is shown, how am I supposed to debug this application without seeing what the data in my objects are that were created with new? Is this possible some how? In visual studio its all shown by default.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      For me, the content of pointers is shown too. Are you sure you are running GDB on a debug build of your project? You need to switch Qt Creator build configuration to debug and then run the debugger (just to be on the safe side, you can also clean and rebuild the whole project).

      (Z(:^

      1 Reply Last reply
      0

      • Login

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