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

Wrong contents of argv when debugging UWP app

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated 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

      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.

        1. argv.png
          48 kB
          Robert Löhning
        2. taskman.png
          9 kB
          Robert Löhning
        For Gerrit Dashboard: QTCREATORBUG-19705
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes