[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
7 files changed
tree: fd568ecec243b778999524bd9dd88633f0bc15c6
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. peridot/
  9. products/
  10. scripts/
  11. sdk/
  12. src/
  13. third_party/
  14. tools/
  15. zircon/
  16. .clang-format
  17. .clang-tidy
  18. .dir-locals.el
  19. .gitattributes
  20. .gitignore
  21. .gn
  22. .style.yapf
  23. AUTHORS
  24. BUILD.gn
  25. CODE_OF_CONDUCT.md
  26. CONTRIBUTING.md
  27. LICENSE
  28. OWNERS
  29. PATENTS
  30. README.md
  31. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.