2ca507bf9e
Reviewed By: bnham Differential Revision: D4213580 fbshipit-source-id: 3830c15b0097030a4e4611aac814b12e1d6ae696 |
||
---|---|---|
.. | ||
Agent.cpp | ||
Agent.h | ||
Android.mk | ||
BUCK | ||
ConsoleAgent.cpp | ||
ConsoleAgent.h | ||
Dispatcher.cpp | ||
Dispatcher.h | ||
Error.cpp | ||
Error.h | ||
Inspector.cpp | ||
Inspector.h | ||
InspectorAgent.cpp | ||
InspectorAgent.h | ||
InspectorController.cpp | ||
InspectorController.h | ||
JSDispatcher.cpp | ||
JSDispatcher.h | ||
LegacyAgents.cpp | ||
LegacyAgents.h | ||
LegacyDebuggerAgent.cpp | ||
LegacyDebuggerAgent.h | ||
LegacyDispatcher.cpp | ||
LegacyDispatcher.h | ||
LegacyInspectorEnvironment.cpp | ||
LegacyInspectorEnvironment.h | ||
LegacyRuntimeAgent.cpp | ||
LegacyRuntimeAgent.h | ||
LegacyScriptDebugServer.cpp | ||
LegacyScriptDebugServer.h | ||
PageAgent.cpp | ||
PageAgent.h | ||
Protocol.cpp | ||
Protocol.h | ||
README.md | ||
Util.cpp | ||
Util.h |
README.md
Inspector
This directory implements an the Chrome debugging protocol 1. The version used is roughly 1.1 of the protocol. The code here doesn't specify a transport and doesn't implement an actual server. This is left up to higher parts of the stack.
The implementation uses multiple "dispatchers" to route messages for a specific domain. It reuses existing code in JavaScriptCore to handle the domains for Debugger and Runtime. For Console, Page and Inspector there are new implementations.
Open source
The inspector currently doesn't compile in open source. This is due to how the build on Android where we download the JSC sources and build an artifact separately, later download the headers we need. The number of headers download would have to be expanded and verify that it builds correctly.