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

QString "not accessible" when debugging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important 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

      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".

        1. left.log
          7 kB
          Robert Löhning
        2. right.log
          31 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes