-
Notifications
You must be signed in to change notification settings - Fork 203
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
How to "pause" the evaluation (aka breakpoint)? #408
Comments
PS, might be related to #304 |
@alandonovan WDYT? should I write a PR as described? |
I think the now "proper" mention for Alan is: @adonovan. |
The 'vmdebug' logic is just an internal logging statement used when debugging changes to the interpreter. It's not a feature. There is no breakpoint (debugger) feature today. The request to add this feature is #304, but there has been no progress towards that. |
@adonovan are you against my proposed solution? Edit: I meant to add this "hook" everywhere we have this |
Hi,
I'm wondering if/how it's possible to add some mechanism for breakpoints?
I saw that there are a few lines there is a "preparation" for hooking up a debugging breakpoint, but I couldn't find any way to hook there...
a. Is it possible today?
b. If that's not possible, I suggest adding a callback function in the thread or in a thread's local. If that is accepted, I'd be happy to do a PR. (The interface can be something simple like
func(thread *Thread, typ BreakpointType)
The text was updated successfully, but these errors were encountered: