From e6ce7d412080927d423df9dd75105f4761b5a3c5 Mon Sep 17 00:00:00 2001 From: Ramya Achutha Rao Date: Fri, 20 Jul 2018 12:08:16 -0700 Subject: [PATCH] Add docs on detaching --- Documentation/api/ClientHowto.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/api/ClientHowto.md b/Documentation/api/ClientHowto.md index 808bacce..c1deb2ac 100644 --- a/Documentation/api/ClientHowto.md +++ b/Documentation/api/ClientHowto.md @@ -257,6 +257,12 @@ the variable in question is shadowed. Users of your client should be able to distinguish between shadowed and non-shadowed variables. +## Gracefully ending the debug session + +To ensure that delve cleans up after itself by deleting the `debug` or `debug.test` binary it creates +and killing any processes spawned by the program being debugged, the `Detach` command needs to be called. +In case you are disconnecting a running program, ensure to halt the program before trying to detach. + ## Testing the Client A set of [example programs is