react-native/ReactCommon/inspector
Alexander Blom fbc8410d86 Add some documentation
Summary: Adds documentation about the Inspector.

Reviewed By: passy, foghina

Differential Revision: D4114673

fbshipit-source-id: fb1182c89c94f10a74d4589b6a24a06b376db92e
2016-11-02 12:29:15 -07:00
..
Agent.cpp Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
Agent.h Add some documentation 2016-11-02 12:29:15 -07:00
Android.mk Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
BUCK Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
ConsoleAgent.cpp Add Console agent 2016-11-02 12:29:15 -07:00
ConsoleAgent.h Add some documentation 2016-11-02 12:29:15 -07:00
Dispatcher.cpp Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
Dispatcher.h Add some documentation 2016-11-02 12:29:15 -07:00
Error.cpp Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
Error.h Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
Inspector.cpp Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
Inspector.h Add some documentation 2016-11-02 12:29:15 -07:00
InspectorAgent.cpp Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
InspectorAgent.h Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
InspectorController.cpp Add JS agent support 2016-11-02 12:29:15 -07:00
InspectorController.h Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
JSDispatcher.cpp Add JS agent support 2016-11-02 12:29:15 -07:00
JSDispatcher.h Add some documentation 2016-11-02 12:29:15 -07:00
LegacyAgents.cpp Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
LegacyAgents.h Add some documentation 2016-11-02 12:29:15 -07:00
LegacyDebuggerAgent.cpp Add Console agent 2016-11-02 12:29:15 -07:00
LegacyDebuggerAgent.h Add Console agent 2016-11-02 12:29:15 -07:00
LegacyDispatcher.cpp Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
LegacyDispatcher.h Add some documentation 2016-11-02 12:29:15 -07:00
LegacyInspectorEnvironment.cpp Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
LegacyInspectorEnvironment.h Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
LegacyRuntimeAgent.cpp Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
LegacyRuntimeAgent.h Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
LegacyScriptDebugServer.cpp Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
LegacyScriptDebugServer.h Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
PageAgent.cpp Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
PageAgent.h Add Page, Runtime, Debugger agents 2016-11-02 12:29:14 -07:00
Protocol.cpp Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
Protocol.h Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
README.md Add some documentation 2016-11-02 12:29:15 -07:00
Util.cpp Add on-device JSC inspector 2016-11-02 12:29:14 -07:00
Util.h Add on-device JSC inspector 2016-11-02 12:29:14 -07:00

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.