-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding and removing breakpoints on runtime? #32
Comments
I also want run time add remove breakPoints |
This is challenging because lua has no built-in event loop. So, there's no straight-forward way to periodically check for incoming breakpoint changes. A few potential options for supporting this:
|
But what if we will call debugger.poll() from environment by a timer? Not every frame but for every second for example. Would it slow down execution? |
I agree with @astrochili . A |
I think this should be do-able and useful. But I won't be able to get to it right away. It's on the roadmap though! |
Are there any updates on this? LOVE environment has an update loop inside |
It looks like the debugger updates breakpoints only on
onDebuggerStop(msg)
.Is it possible to update breakpoints on
setBreakPointsRequest(response, args)
immediately or in some timer function?The text was updated successfully, but these errors were encountered: