Skip to content
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

Step in and Step out #7

Closed
edencorbin opened this issue Jun 13, 2016 · 2 comments
Closed

Step in and Step out #7

edencorbin opened this issue Jun 13, 2016 · 2 comments
Assignees
Labels

Comments

@edencorbin
Copy link

edencorbin commented Jun 13, 2016

I am writing a custom debugger, and have break, as well as step over working, I'm having trouble implementing step in and step out, and wondering if there are functions in the mock debugger that trigger when these buttons are pressed, here's a stack overflow question I posted with the same issue: http://stackoverflow.com/questions/37779967/vscode-debugger-step-in-step-out

I appreciate your help on the matter.

@weinand
Copy link
Contributor

weinand commented Jun 29, 2016

@edencorbin 'mock debug' is just an educational debug adapter and I did not implemented stepInRequest and stepOutRequest because they would not add any new insights over the nextRequest.
If you want to implement them, just override the corresponding methods of the base class DebugSession. They are called from the VS Code debugger UI.
It is not possible to disable the 'step in' and 'step out' buttons.

@weinand weinand self-assigned this Jun 29, 2016
@edencorbin
Copy link
Author

Okay great, I hand't look into the underlying methods of DebugSession, but will do so at this point, and I'm sure I can work from that, thanks for helping resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants