Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How remove invisible breakpoints
QtWS25 Last Chance

How remove invisible breakpoints

Scheduled Pinned Locked Moved Qt Creator and other tools
creator debuggi
5 Posts 2 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Andy314A Offline
    Andy314A Offline
    Andy314
    wrote on last edited by Andy314
    #1

    Some days ago I made a breakpoint in a Qt lib (database) I assume.
    This breakpoint is not visible in the breakpoint-panel nor in the code editor.
    Though it stops at a specific line of my code, but I cannot debug in.

    Remove all breakpoints helps for the moment, but when I enable an other breakpoint I get once again a stop a the specific line. This breakpoind has the same number as my legal breakpoint. Bug ?
    What to do ?????

    (The breakpoint is in QODBCDriverPlugin::Create)

    K 1 Reply Last reply
    0
    • Andy314A Andy314

      Some days ago I made a breakpoint in a Qt lib (database) I assume.
      This breakpoint is not visible in the breakpoint-panel nor in the code editor.
      Though it stops at a specific line of my code, but I cannot debug in.

      Remove all breakpoints helps for the moment, but when I enable an other breakpoint I get once again a stop a the specific line. This breakpoind has the same number as my legal breakpoint. Bug ?
      What to do ?????

      (The breakpoint is in QODBCDriverPlugin::Create)

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Andy314
      I have similar experience with breakpoints. I suspect that the breakpoints in another project. Those hidden breakpoints are mainly in my own code.
      When it stops at such a breakpoint, I press F9 twice and it shows the breakpoint which I switch off with pressing F9 a third time. Afterwards the application does not stop any more at this location. Presumably hitting F9 once is sufficient.

      Vote the answer(s) that helped you to solve your issue(s)

      Andy314A 1 Reply Last reply
      0
      • Andy314A Offline
        Andy314A Offline
        Andy314
        wrote on last edited by
        #3

        No, nothing helps.
        An uneven pressing of F9 generates an additional (visible) break point.
        No effect on this damned invisible breakpoint.
        Does somebody know where, in which file, the Creator stores the breakpoint positions?

        1 Reply Last reply
        0
        • K koahnig

          @Andy314
          I have similar experience with breakpoints. I suspect that the breakpoints in another project. Those hidden breakpoints are mainly in my own code.
          When it stops at such a breakpoint, I press F9 twice and it shows the breakpoint which I switch off with pressing F9 a third time. Afterwards the application does not stop any more at this location. Presumably hitting F9 once is sufficient.

          Andy314A Offline
          Andy314A Offline
          Andy314
          wrote on last edited by
          #4

          @koahnig
          The hint on the breakpoint in an other projekt was very helpfull.
          Indeed the problem has to do with an other file with the same pure filename in an other path and an other projekt. I could not reproduce a full deterministic behaviour, but I got strange effect in this context. The stopping at the invisible breakpoint depends on the position of the legal breakpoint !???
          I solved the problem by renanaming the file to an unique name.

          Nevertheless this is a bug of the Creator and should be fixed !

          K 1 Reply Last reply
          0
          • Andy314A Andy314

            @koahnig
            The hint on the breakpoint in an other projekt was very helpfull.
            Indeed the problem has to do with an other file with the same pure filename in an other path and an other projekt. I could not reproduce a full deterministic behaviour, but I got strange effect in this context. The stopping at the invisible breakpoint depends on the position of the legal breakpoint !???
            I solved the problem by renanaming the file to an unique name.

            Nevertheless this is a bug of the Creator and should be fixed !

            K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            @Andy314

            You should file a bug report on JIRA The forum is not tracked for bug reports. There would be no way to have a follow-up.

            Under windows you find information stored by Qt creator under c:\Users...\AppData\Roaming\QtProject .
            In the subfolder qtcreator you will find .qws per session. I would expect that the relevant information is in there, but do not know.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved