Status: New
Owner: ----
New issue 1573 by [email protected]: There should be a
Debug::DisableAgent to match Debug::EnableAgent
http://code.google.com/p/v8/issues/detail?id=1573
We have a long lived Node process that sometimes we want to enable a
debugger on but want to disable it after some time if we are done checking
on it.
Its a simple fix, but I am unsure if this has any lasting side effects.
src/api.cc -----
void Debug::DisableAgent() {
i::Isolate::Current()->debugger()->StopAgent();
}
include/v8-debug.h -----
/**
* Disable the V8 builtin debug agent. The agent will no longer be
listening on
* the TCP/IP port it was listening to.
*/
static void DisableAgent();
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev