summaryrefslogtreecommitdiff
path: root/src/inspector_agent.h
diff options
context:
space:
mode:
authorEugene Ostroukhov <eostroukhov@chromium.org>2017-05-31 15:14:52 -0700
committerEugene Ostroukhov <eostroukhov@chromium.org>2017-06-05 08:47:43 -0700
commite6dcc3dfa9dbbf59cf6f67425e47c47bea70fe2c (patch)
tree1b34b15cf54eba71bf5e3f21aa16d6e5c4ada01a /src/inspector_agent.h
parent5d9dc94509253845642e617f9d6d47ce0d09d7da (diff)
downloadandroid-node-v8-e6dcc3dfa9dbbf59cf6f67425e47c47bea70fe2c.tar.gz
android-node-v8-e6dcc3dfa9dbbf59cf6f67425e47c47bea70fe2c.tar.bz2
android-node-v8-e6dcc3dfa9dbbf59cf6f67425e47c47bea70fe2c.zip
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 <jasnell@gmail.com>
Diffstat (limited to 'src/inspector_agent.h')
-rw-r--r--src/inspector_agent.h2
1 files changed, 1 insertions, 1 deletions
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;
};