From e6dcc3dfa9dbbf59cf6f67425e47c47bea70fe2c Mon Sep 17 00:00:00 2001 From: Eugene Ostroukhov Date: Wed, 31 May 2017 15:14:52 -0700 Subject: inspector: Allows reentry when paused This change allows reentering the message dispatch loop when the Node is paused. This is necessary when the pause happened as a result of the message sent by a debug frontend, such as evaluating a function with a breakpoint inside. Fixes: https://github.com/nodejs/node/issues/13320 PR-URL: https://github.com/nodejs/node/pull/13350 Reviewed-By: James M Snell --- src/inspector_agent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspector_agent.h') diff --git a/src/inspector_agent.h b/src/inspector_agent.h index 9966c02adf..367b460d20 100644 --- a/src/inspector_agent.h +++ b/src/inspector_agent.h @@ -38,7 +38,7 @@ namespace inspector { class InspectorSessionDelegate { public: virtual ~InspectorSessionDelegate() = default; - virtual bool WaitForFrontendMessage() = 0; + virtual bool WaitForFrontendMessageWhilePaused() = 0; virtual void SendMessageToFrontend(const v8_inspector::StringView& message) = 0; }; -- cgit v1.2.3