You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When should a debugger use the ExitedEvent vs the TerminatedEvent? The PowerShell debugger is launched (it doesn't support attach yet) but we are sending a TerminatedEvent at the end which apparently causes the client to send us a disconnectRequest which is a bit odd. We don't respond to this message because we are in the middle of shutting the debug host down. This results (sometimes) in a Error Canceled popup. It seems to happen when we pause/resume the debugger.
If I switch that to use the ExitedEvent we don't get the disconnectRequest message but the client pops a new error Error Debug adapter process has terminated unexpectedly. And if the program was paused and resumed it also pops up Error Canceled.
The text was updated successfully, but these errors were encountered:
We're changing gdb to send both the exited event and the terminated event, but it's unclear why both are needed, and it's also unclear to me whether the terminated event ought to be sent in response to client actions like disconnect or terminate.
When should a debugger use the
ExitedEvent
vs theTerminatedEvent
? The PowerShell debugger is launched (it doesn't support attach yet) but we are sending aTerminatedEvent
at the end which apparently causes the client to send us adisconnectRequest
which is a bit odd. We don't respond to this message because we are in the middle of shutting the debug host down. This results (sometimes) in aError Canceled
popup. It seems to happen when we pause/resume the debugger.If I switch that to use the
ExitedEvent
we don't get thedisconnectRequest
message but the client pops a new errorError Debug adapter process has terminated unexpectedly
. And if the program was paused and resumed it also pops upError Canceled
.The text was updated successfully, but these errors were encountered: