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

Can not pause while script is running #560

Open
zhangjiagege opened this issue Aug 26, 2021 · 1 comment
Open

Can not pause while script is running #560

zhangjiagege opened this issue Aug 26, 2021 · 1 comment

Comments

@zhangjiagege
Copy link

Hi,
When I running a script by ExecutorService.execute,cause this is a single thread executor,so before this script complete,I can not pause executing by V8Inspector.dispatchProtocolMessage("{ "id": 1, "method": "Debugger.pause" }"),actually,I can not do anything using dispatchProtocolMessage,because they're in diffrent thread,also can not use ExecutorService.execute to invoke V8Inspector.dispatchProtocolMessage because the script not complete this time.

@ahmadov
Copy link
Contributor

ahmadov commented Sep 7, 2021

Hi @zhangjiagege,

What is ExecutorService? Without a simple snippet, it's difficult to find what is the problem. We are internally using the V8Inspector in our project and it works very well.

Could you please provide a simple code snippet to reproduce?

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

No branches or pull requests

2 participants