how to dynamically remove the 'breakpoint' command?
Asked Answered
S

2

0

I've created a conditional breakpoint by assigning a key to change the 'breakpt' variable from false to true.
Elsewhere I have a conditional statement that if breakpt=true, it accesses a 'breakpoint' command.
However, I can't seem to get rid of it. Even when I set the 'breakpt' back to false the code still stops at the breakpoint unless I restart the code.

Speciosity answered 1/3 at 4:56 Comment(0)
H
0

Speciosity Post the code example.

Hueston answered 1/3 at 9:41 Comment(0)
S
0

Nevermind, I just realized that I used is_action_pressed instead of is_action_just_pressed, which now works! I guess an input buffer somewhere got stuffed and I didn't cycle through the the breakpoint enough to clear the buffer, or something like that!

Speciosity answered 5/3 at 5:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.