mirror of
https://github.com/go-delve/delve.git
synced 2025-11-03 13:57:33 +08:00
service/dap: Change reason to "entry" when stopping on entry (#1976)
Co-authored-by: Polina Sokolova <polinasok@users.noreply.github.com>
This commit is contained in:
@ -438,7 +438,7 @@ func (s *Server) onConfigurationDoneRequest(request *dap.ConfigurationDoneReques
|
||||
if s.stopOnEntry {
|
||||
e := &dap.StoppedEvent{
|
||||
Event: *newEvent("stopped"),
|
||||
Body: dap.StoppedEventBody{Reason: "breakpoint", ThreadId: 1, AllThreadsStopped: true},
|
||||
Body: dap.StoppedEventBody{Reason: "entry", ThreadId: 1, AllThreadsStopped: true},
|
||||
}
|
||||
s.send(e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user