commit | deb0135f0009f02216ca6c5c5d0708050a2e3dd9 | [log] [tgz] |
---|---|---|
author | Cristian Donoso <donosoc@google.com> | Mon Jul 15 19:29:32 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon Jul 15 19:29:32 2019 +0000 |
tree | fd568ecec243b778999524bd9dd88633f0bc15c6 | |
parent | 6f41e8c29d462aa39ea1898e9483770e6577ff06 [diff] |
[debugger] Make debug agent persists upon disconnects. Before the debug agent would be bound to a connection, so the moment the connection got lost, the agent would be destroyed and all the attachments/breakpoints would be lost, somewhat defeating the purpose of reconnecting. With this change, the agent works independent of a connection, so can connect/disconnect multiple times without loosing state. IMPORTANT: While the agent doesn't loose state, this setup will actually "leak" as the newly connected agent won't know about the current state of the debug agent (it assumes a "clean" debug agent). While this is somewhat a regression, it's not that bad as the default setup is to quit on exit so the agent will exit anyway upon disconnection. That change will come in a subsequent CL(s). TEST=Manual with debug mode activated agent and using `quit-on-exit` false config, which enables an agent to remain upon disconnection. Change-Id: If78776a9a215e42613446ec773b5ccfd24c7cfee
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.