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

QString "not accessible" when debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.8.2
    • Qt Creator 4.7.2, Qt Creator 4.8.0-beta1
    • Debugger
    • None
    • Windows 10 1803 64 bit
      MSVC2015, 32 bit, 64 bit
      Qt 5.9.6, Qt 5.9.7, Qt 5.12.0 beta 2

    Description

      1. Create a new Qt Widgets Application.
      2. Create a QString in the main function.
      3. Place a breakpoint in the main function after the QString was created.
      4. Build this on Qt for UWP and run it in the debugger.
        The breakpoint will be hit but the QString will be marked "not accessible" in "Locals" view.

      The "Locals" view should show the content of the QString. When building the same application on Qt for Desktop, this seems to work correctly, even when checking "Run in Terminal".

      Attachments

        1. right.log
          31 kB
        2. left.log
          7 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              davschul David Schulz
              rlohning Robert Löhning
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes