Chromium Code Reviews| Index: src/api.cc |
| diff --git a/src/api.cc b/src/api.cc |
| index 863fbdc252216d388a00bc3f2c4f823b4504a3f4..0b13669ac7b49a9ae7408020c3a634ac2fbed3a9 100644 |
| --- a/src/api.cc |
| +++ b/src/api.cc |
| @@ -5470,6 +5470,12 @@ bool Debug::EnableAgent(const char* name, int port, bool wait_for_connection) { |
| wait_for_connection); |
| } |
| + |
| +void Debug::DisableAgent() { |
| + return i::Isolate::Current()->debugger()->StopAgent(); |
| +} |
| + |
| + |
| void Debug::ProcessDebugMessages() { |
| i::Execution::ProcessDebugMesssages(true); |
| } |