If Debugger.setAsyncCallStackDepth is sent during bootstrap, we cannot immediately call into JS to enable the hooks, which could interrupt the JS execution of bootstrap. So instead we save the notification in the inspector agent if it's sent in the middle of bootstrap, and process the notification later here. Refs: https://github.com/nodejs/node/issues/26798 PR-URL: https://github.com/nodejs/node/pull/26935 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com> |
||
|---|---|---|
| .. | ||
| .eslintrc.yaml | ||
| check_syntax.js | ||
| eval_stdin.js | ||
| eval_string.js | ||
| inspect.js | ||
| print_bash_completion.js | ||
| print_help.js | ||
| prof_process.js | ||
| repl.js | ||
| run_main_module.js | ||
| run_third_party_main.js | ||
| worker_thread.js | ||