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

How to debug JScriptEngine / VBScriptEngine? #29

Closed
joaodotneto opened this issue Dec 1, 2017 · 2 comments
Closed

How to debug JScriptEngine / VBScriptEngine? #29

joaodotneto opened this issue Dec 1, 2017 · 2 comments
Assignees
Labels

Comments

@joaodotneto
Copy link

I found docs only for V8, ok. But how to debug JScriptEngine and VBScriptEngine?

Thanks in advance.

@ClearScriptLib
Copy link
Collaborator

Hi @joaodotneto,

You can use Visual Studio to debug script code running in Windows script engines.

First, enable debugging by passing WindowsScriptEngineFlags.EnableDebugging to the JScriptEngine or VBScriptEngine constructor.

Once your program is running, use the procedure outlined here to attach Visual Studio's script debugger. You'll then see your script documents in Solution Explorer. You can open them, set breakpoints, etc.

Good luck!

@joaodotneto
Copy link
Author

Man, thanks a lot for this!
Extremely fast again!

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