Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15110

debug visualizer does not work for std::string with mingw64 gdb/g++ 5.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.6.0-rc1
    • Qt Creator 3.5.0
    • Debugger
    • None
    • The qtcreator version was the version 3.5, and downloaded from the official qt site.
      The compilers and debuggers used where the mingw-w64 ones from MSYS2:
      - g++ 5.2.0 (x86_64)
      - gdb 7.10 (x86_64)
    • e5e3243dd1044ebf5d79e0cbd4a7b70febb2fe0e

    Description

      Using qtcreator 3.5 with the mingw-64 compiler installed by msys2, the compilation and debugging works, but the pretty printer for std::string does not seems to work. Instead, the raw information is displayed (the type given is std::__cxx11::string).
      The pretty-printing works for the Qt types or other std types (I have tried with std::vector).

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-15110
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            arequet Antoine REQUET
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes