-
Notifications
You must be signed in to change notification settings - Fork 649
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
Debug hooks #69
Comments
Hi. |
That makes sense to me 👍 . I may fork and add the hooks, just for the project I'm working on. Would you be able to point me in the right direction on where those should be implemented? I'll be diving in some time today to try and get that done, but it will be the first time I've dived in to the gopher-lua source beyond surface level, and some guidance would be a huge help. Feel free to close this issue either way :) |
Just off the top of my head...
I hope that it will be helpful for you. |
That's a great start, thanks! |
Hi! Awesome work on this! I've been prototyping a project which uses gopher-lua to run user-defined scripts in a sandbox, and everything has been going pretty smoothly so far, however I would like to implement some resource constraints on scripts which are run, and based on previous experience, the way this is done is with debug hooks. Is there a specific reason why they are not exposed in gopher-lua? Is it possible to add them? I see that the shopify/go-lua project does implement them, but they are missing other things that gopher-lua has, and as far as I can tell, is not particularly active. Rather than cut over to using shopify/go-lua, I'm wondering if it's feasible to implement the debug hooks in gopher-lua, and wanted to get some background on why they were omitted before I started working on anything.
Thanks!
The text was updated successfully, but these errors were encountered: