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

Python debugger breaks on first script statement instead running to first breakpoint

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 10.0.0-beta2
    • Qt Creator 9.0.1
    • Debugger
    • None
    • Linux/X11
    • 4b9054c46 (10.0)

    Description

      When debugging a Python script, the debugger always stops at first script statement line.

      You can run to the first breakpoint by pressing F5 afterwards.

      I first got a messagebox stating that something with the breakpoints went wrong, but I'm not getting this anymore, even when running with `-tcs`.

      Sample project with debugger log attached.

      Attachments

        1. FizzBuzz.zip
          3 kB
        2. image-2023-01-31-14-04-17-388.png
          image-2023-01-31-14-04-17-388.png
          209 kB
        3. screenshot-1.png
          screenshot-1.png
          23 kB
        For Gerrit Dashboard: QTCREATORBUG-28732
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes