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

Incomplete handling of breakpoint in main()

    XMLWordPrintable

Details

    • 2bfa7aff9 (master)

    Description

      1. Install Qt from the official Online Installer. Do not install "Qt Debug Information Files".
        I used Qt 6.6.1 and Qt 6.7.0-beta1, MSVC 2019 64-bit.
      2. Create a new Qt Widgets Application project.
      3. Configure the project to use Qt from step 1.
        Also make sure it uses a "Debug" configuration.
      4. Place a breakpoint in the project's main() function.
      5. Start debugging.
        Creator warns about missing debug information.
      6. Close the warning by clicking "OK".
        The debugger stopped somewhere but Creator neither shows an editor nor a backtrace.
      7. Press F5.
        The project runs on and shows its main window.

      Even without installed debug information, Creator should be able to properly handle a breakpoint in a local project. After installing "Qt Debug Information Files" for the respective Qt version, this works fine.

      Attachments

        1. right.log
          9 kB
        2. left.log
          4 kB
        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:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes