|
Node.js
v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
|
#include <inspector_agent.h>
Public Member Functions | |
| Agent (node::Environment *env) | |
| ~Agent () | |
| bool | Start (node::NodePlatform *platform, const char *path, const DebugOptions &options) |
| void | Stop () |
| bool | IsStarted () |
| bool | IsConnected () |
| void | WaitForDisconnect () |
| void | FatalException (v8::Local< v8::Value > error, v8::Local< v8::Message > message) |
| void | AsyncTaskScheduled (const v8_inspector::StringView &taskName, void *task, bool recurring) |
| void | AsyncTaskCanceled (void *task) |
| void | AsyncTaskStarted (void *task) |
| void | AsyncTaskFinished (void *task) |
| void | AllAsyncTasksCanceled () |
| void | RegisterAsyncHook (v8::Isolate *isolate, v8::Local< v8::Function > enable_function, v8::Local< v8::Function > disable_function) |
| void | Connect (InspectorSessionDelegate *delegate) |
| void | Disconnect () |
| void | Dispatch (const v8_inspector::StringView &message) |
| InspectorSessionDelegate * | delegate () |
| void | RunMessageLoop () |
| bool | enabled () |
| void | PauseOnNextJavascriptStatement (const std::string &reason) |
| InspectorIo * | io () |
| bool | StartIoThread (bool wait_for_connect) |
| void | RequestIoThreadStart () |
| DebugOptions & | options () |
| void | ContextCreated (v8::Local< v8::Context > context) |
Static Public Member Functions | |
| static void | InitInspector (v8::Local< v8::Object > target, v8::Local< v8::Value > unused, v8::Local< v8::Context > context, void *priv) |
Definition at line 40 of file inspector_agent.h.
|
explicit |
| ~Agent | ( | ) |
Definition at line 663 of file inspector_agent.cc.
| void AllAsyncTasksCanceled | ( | ) |
Definition at line 868 of file inspector_agent.cc.
| void AsyncTaskCanceled | ( | void * | task | ) |
Definition at line 856 of file inspector_agent.cc.
| void AsyncTaskFinished | ( | void * | task | ) |
Definition at line 864 of file inspector_agent.cc.
| void AsyncTaskScheduled | ( | const v8_inspector::StringView & | taskName, |
| void * | task, | ||
| bool | recurring | ||
| ) |
Definition at line 851 of file inspector_agent.cc.
| void AsyncTaskStarted | ( | void * | task | ) |
Definition at line 860 of file inspector_agent.cc.
| void Connect | ( | InspectorSessionDelegate * | delegate | ) |
Definition at line 777 of file inspector_agent.cc.
References node::FatalError().
| void ContextCreated | ( | v8::Local< v8::Context > | context | ) |
Definition at line 1006 of file inspector_agent.cc.
References Agent::InitInspector(), and NODE_MODULE_CONTEXT_AWARE_BUILTIN().
| InspectorSessionDelegate * delegate | ( | ) |
Definition at line 830 of file inspector_agent.cc.
References channel.
| void Disconnect | ( | ) |
Definition at line 820 of file inspector_agent.cc.
| void Dispatch | ( | const v8_inspector::StringView & | message | ) |
Definition at line 815 of file inspector_agent.cc.
|
inline |
Definition at line 82 of file inspector_agent.h.
| void FatalException | ( | v8::Local< v8::Value > | error, |
| v8::Local< v8::Message > | message | ||
| ) |
Definition at line 808 of file inspector_agent.cc.
|
static |
Definition at line 964 of file inspector_agent.cc.
References node::Buffer::New().
Referenced by Agent::ContextCreated().
|
inline |
Definition at line 91 of file inspector_agent.h.
| bool IsConnected | ( | ) |
Definition at line 796 of file inspector_agent.cc.
|
inline |
Definition at line 51 of file inspector_agent.h.
References node::FatalException().
|
inline |
Definition at line 101 of file inspector_agent.h.
| void PauseOnNextJavascriptStatement | ( | const std::string & | reason | ) |
Definition at line 838 of file inspector_agent.cc.
References channel.
| void RegisterAsyncHook | ( | v8::Isolate * | isolate, |
| v8::Local< v8::Function > | enable_function, | ||
| v8::Local< v8::Function > | disable_function | ||
| ) |
Definition at line 844 of file inspector_agent.cc.
| void RequestIoThreadStart | ( | ) |
Definition at line 995 of file inspector_agent.cc.
| void RunMessageLoop | ( | ) |
Definition at line 825 of file inspector_agent.cc.
| bool Start | ( | node::NodePlatform * | platform, |
| const char * | path, | ||
| const DebugOptions & | options | ||
| ) |
Definition at line 666 of file inspector_agent.cc.
References DebugOptions::inspector_enabled(), and DebugOptions::wait_for_connect().
| bool StartIoThread | ( | bool | wait_for_connect | ) |
Definition at line 689 of file inspector_agent.cc.
References node::FatalError(), node::MakeCallback(), and node::Buffer::New().
| void Stop | ( | ) |
Definition at line 754 of file inspector_agent.cc.
References node::FatalError().
| void WaitForDisconnect | ( | ) |
Definition at line 800 of file inspector_agent.cc.