Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resources related to the Devtools/Chromium/v8 Debugger/Profiler ... #8

Open
thlorenz opened this issue Sep 25, 2014 · 1 comment
Open

Comments

@thlorenz
Copy link
Owner

@thlorenz
Copy link
Owner Author

DevTools IPC description found inside devtools_messages.h

Developer tools consist of the following parts:

DevToolsAgent lives in the renderer of an inspected page and provides access
to the pages resources, DOM, v8 etc. by means of IPC messages.

DevToolsClient is a thin delegate that lives in the tools front-end
renderer and converts IPC messages to frontend method calls and allows the
frontend to send messages to the DevToolsAgent.

All the messages are routed through browser process. There is a
DevToolsManager living in the browser process that is responsible for
routing logistics. It is also capable of sending direct messages to the
agent rather than forwarding messages between agents and clients only.

Chain of communication between the components may be described by the
following diagram:
 ----------------------------
| (tools frontend            |
| renderer process)          |
|                            |            --------------------
|tools    <--> DevToolsClient+<-- IPC -->+ (browser process)  |
|frontend                    |           |                    |
 ----------------------------             ---------+----------
                                                   ^
                                                   |
                                                  IPC
                                                   |
                                                   v
                         --------------------------+--------
                        | inspected page <--> DevToolsAgent |
                        |                                   |
                        | (inspected page renderer process) |
                         -----------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant