Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [SOLVED] QtCreator can not be used to debug std::libc data types
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] QtCreator can not be used to debug std::libc data types

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 1.0k 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.
  • T Offline
    T Offline
    th.thielemann
    wrote on last edited by
    #1

    I opened the following ticket : "QTCREATORBUG-13579 - QtCreator can not use to debug std::libc":https://bugreports.qt-project.org/browse/QTCREATORBUG-13579 data types. But I am wondering if there is a workaround known?

    Details:
    Open terminal and start QtCreator.
    Set up an c++ application with usage of std::vectorstd::string mylist and add values to this list.
    Run the app in debug mode and try to step over vector creation and manipulation.
    Try to watch values of type std::string.
    QtCreators hangs until timeout of GDB.
    Error message in terminal: Unexpected GDB stderr: "Recursive internal problem.

    Environment: Ubuntu 12.04.5 LTS 32 Bit Desktop, Qt 5.3.0, gcc 4.7, gdb 7.4, QtCreator 3.2.1

    Hint: Everything is fine using GDB on command line or with Eclipse

    Regards,
    Thomas

    1 Reply Last reply
    0
    • T Offline
      T Offline
      th.thielemann
      wrote on last edited by
      #2

      Error depends on Debug settings of GDB in QtCreator. Default settings for QtCreator 3.3 and newer avoid this issue.

      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