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 about adding debug commands such likes continue or run? #47
Comments
This is just a wrapper around the If so, please provide the logs and how to reproduce. |
@d413k Hi, I add more details about my confusion on using go-pry. wish that features could be added into go-pry |
I'm pretty sure you can just do
And have it continue as you've described |
@d4l3k Modify |
I guess @jkryanchou was proposing to enhance gopry with the typical debugger functionality "next", If I understand correctly how gopry is implemented, adding this feature seems difficult: it would require injecting gopry.Pry() or something similar after every statement in the code, in order to trasfer control to gopry after every statement, and let it decide whether to resume execution or show a prompt. |
Yep. It'd be pretty painful |
@d4l3k OK, I got it. |
Sorry for not providing details. Here are what I mentioned. Wish to add some debug related commands for us to debug as python(ipdb) or ruby(pry)
I modify the var a value to 2, and willing to execute
next
orcontinue
commands to continue the program.Is there any methods to add those to go-pry? I have noticed what you have mentioned below it just has wrap
go
commands. So i thought it is impossible to add those commands.The text was updated successfully, but these errors were encountered: