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.
how to dynamically remove the 'breakpoint' command?
Asked Answered
Speciosity Post the code example.
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!
© 2022 - 2024 — McMap. All rights reserved.