Open polinasok opened 2 years ago
In the disconnect cases, does “leave process” mean that the process is left in a running state?
My $0.02: “Stop” means terminate the process, regardless of multiclient. The multiclient case is only interesting in that it allows for disconnect as an option.
In multi-client case "leave process" can mean running or halted, but that's controlled by a separate flag.
I have a draft of a fix, but would like to discuss first if the current behavior even needs fixing.
Current behavior:
dlv attach
:terminateDebuggee=false
=> kill debugger, leave process (running)terminateDebuggee=true
=> kill debugger, kill processdlv attach
with--accept-multiclient
:terminateDebuggee=false
=> leave debugger, leave process (halted or running)terminateDebuggee=true
=> kill debugger, kill processQuestion: should multi-client Stop leave the attached debuggee process running when the debugger stops?
@suzmue @hyangah @briandealwis