Does anyone use breakpoints when debugging?

0 favourites
  • 8 posts
From the Asset Store
The great army of the Immortal Warriors met an equally powerful Horde on its way. Will anyone win this endless battle.
  • In all my years of working with Construct I think I've successfully used breakpoints less than a dozen times. I feel like in 99% cases whenever I'm trying to add a breakpoint in an event, the editor doesn't allow me to do so. And even when it does, half of the times the breakpoint is never triggered.

    Has anyone had any luck with breakpoints? Am I doing something wrong, or is it just a useless feature?

  • I haven’t used them but that was mainly because the debugger didn’t let you step through loops and sub events or per condition and per action. Maybe that has since changed, but at this point I’ve resorted to other debugging methods.

  • I use them as a last resort, but never really had much trouble getting them to trigger!

    I do find them kinda finnicky though, like getting out of breakpoint mode and returning to the editor. The amount of times I've wished for a step-through is about as many times as I've actually used breakpoints, so I do think they could be better.

    But yeah, I tend to avoid the debugger as much as possible, generally rolling my own for most things.

  • Hi. I keep forgetting about them. I very often use the debug mode and pause with my hands.

  • I haven’t used them but that was mainly because the debugger didn’t let you step through loops and sub events or per condition and per action.

    Ah, yes, clicking 100 times to step past a loop is super fun.. (not)

    I use them as a last resort, but never really had much trouble getting them to trigger!

    One example is a breakpoint inside a function that returns a value. You can add it, but it never triggers.

  • I have tried,it never worked for me.

  • I had some of the same issues mentioned above, but I use them fairly often and lately without much trouble. It can be super helpful.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • > I haven’t used them but that was mainly because the debugger didn’t let you step through loops and sub events or per condition and per action.

    Ah, yes, clicking 100 times to step past a loop is super fun.. (not)

    > I use them as a last resort, but never really had much trouble getting them to trigger!

    One example is a breakpoint inside a function that returns a value. You can add it, but it never triggers.

    You don't need to XD Just create a blank event after the loop and put the breakpoint on this event. Events that returns values is indeed annoying too, along with all other events with the same limitation, like triggers, etc. Debug mode in construct is just too limited I think but it's still quite helpful sometimes.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)