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

Qt Creator truncates C-strings by 1 char (wchar_t*)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.5.0-rc1
    • Fix Version/s: Qt Creator 3.5.0
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
      Windows
    • Commits:
      eaec337265c7de76e8aca4a74669e65b062c9c2d

      Description

      All C-strings (wchar_t*) in "Locals and Expressions" are shown without the last char. e.g. on the attached screen shot string value is "13" but shown as "1"
      (Not sure the correct Component/s is selected - there is no explicit "Qt Creator" component)

        Attachments

        1. debugger log.txt
          39 kB
        2. QTCREATORBUG-14826.ZIP
          2 kB
        3. screenshot-1.png
          screenshot-1.png
          66 kB
        4. screenshot-2.png
          screenshot-2.png
          5 kB
        5. screenshot-3.png
          screenshot-3.png
          40 kB
        6. screenshot-4.png
          screenshot-4.png
          46 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            vdushatsky Vladislav Dushatsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes