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

Wrong contents of argv when debugging UWP app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.5.0
    • Windows 10 1709 64 bit
      MSVC2015 32 bit
      Qt 5.10.1 for UWP 32 bit
    • b33a8cb13d317cc5a5212204966b2e174d0ebca1 in qtbase

    Description

      1. Create a new Qt Widgets Application project.
      2. Build it on Qt for Windows UWP.
      3. Place a breakpoint in the first line of main().
      4. Run the debugger.
      5. When the debugger stopped at the breakpoint, see the Locals and Expressions view.
        It displays at least 100 elements for argv, although argc is 1:

        The Windows Task Manager shows one, different parameter to the application:

      The debugger should show the correct values of argc and argv.

      Attachments

        1. argv.png
          argv.png
          48 kB
        2. taskman.png
          taskman.png
          9 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes