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

Issue with breakpoints and debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.15.2
    • Debugger
    • None
    • Linux/X11

    Description

      After upgrading to the latest qt creator version using MaintenanceTool, I am having all sort of issues when trying to debug. I am not sure what version of qt-creator I had installed before the upgrade, but it was at least whichever did come with Qt 5.12.x. At some point, I did upgrade from 5.12.x to 5.14.1 and then to 4.14.2 when it was available. Again very recently (week or little more I upgraded to 5.15.2 qt creator with maintenance tool)

      Before I get to the current issue, I like to mention a related issue? that I never reported. I noticed that with the previous qt creator, whenever I started debugging and I placed breakpoint at the end of the source file, right after debugger started, execution stopped at the very end line of the source file. I had to press continue and everything was fine. It little annoying but I could live with it.

       

      Now in the current version after an upgrade, I place breakpoints at various places in my source file. Then I start debugger some breakpoints are switched few lines down and some disappear from the left side of the editor window where you see line numbers.

      While debugging I try to add a breakpoint by clicking on a valid line on left side of the editor  (it is always how I enable disable breakpoints, except clearing all in "breakpoint watch window"), In some cases breakpoint is inserted few lines below and not where I want it.

       

       

      Attachments

        1. breakpoint-1.png
          breakpoint-1.png
          11 kB
        2. breakpoint-2.png
          breakpoint-2.png
          12 kB
        3. dbg-2.txt
          99 kB
        4. gdb.tar.gz
          17 kB
        5. pip-check
          22 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            oxoocoffee Robert J. Gebis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes