duktape
duktape copied to clipboard
How to terminate the JavaScript program from within debugger?
I'm using Duktape's debugger protocol from my C++ application. My goal is to make sure the program does not have any blocking or infinite loops. To do that I'm using a timer, and when the time comes, from my debugger I want to terminate the JavaScript code which caused the blocking. I did not find any specific request in the debugger protocol.