Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator Breakpoints : Good for 1 debug only
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Breakpoints : Good for 1 debug only

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    lppier
    wrote on last edited by
    #1

    Hi,

    Whenever I use Qt Creator 's breakpoints, the breakpoints stop working after the 1st debug run.

    For example,
    Add breakpoint to line 5
    Run Qt Creator Debug
    breakpoint works
    quit program
    Then run Qt Creator Debug again
    This time, the breakpoint does not work.

    However if I add a New breakpoint, it works. So breakpoints are like, effective for only 1 debug run.
    I noticed that the breakpoints get hit if there is a little hour glass next to it prior to the debug run. But I'm guessing that only means that the breakpoint i!()!s new. Please let me know otherwise!

    I'm on OSX 10.9 , using Qt 4.8 (the project I'm debugging requires 4.8), Qt Creator 3.0.

    Many thanks. Everything in my life will be perfect if I can do proper breakpoint debugging in Qt Creator.

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      Breakpoints should stay active until removed, no matter how many times you run the program. The only reason a breakpoint might get usless is when you add code prior to the breakpoint and the breakpoint itself is set to no code at all.
      Maybe move your post to the Tools section of the forum! This is not really the place for it!

      Greetz, Jeroen

      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