Skip to content

Commit

Permalink
Switch from go-dap fork to original
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaumgarten committed Aug 15, 2021
1 parent 2509a47 commit 05e1cdb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ require (
github.com/spf13/viper v1.6.1
golang.org/x/tools v0.1.0 // indirect
gopkg.in/yaml.v2 v2.2.7
)

replace github.com/google/go-dap v0.2.0 => github.com/dbaumgarten/go-dap v0.2.2
github.com/google/go-dap v0.3.0
)
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/go-dap v0.2.0 h1:whjIGQRumwbR40qRU7CEKuFLmePUUc2s4Nt9DoXXxWk=
github.com/google/go-dap v0.2.0/go.mod h1:5q8aYQFnHOAZEMP+6vmq25HKYAEwE+LF5yh7JKrrhSQ=
github.com/google/go-dap v0.3.0 h1:Dc4izN0u4VhZERYrz80f1PSEoDsVfdVmdM/W82CxzFk=
github.com/google/go-dap v0.3.0/go.mod h1:5q8aYQFnHOAZEMP+6vmq25HKYAEwE+LF5yh7JKrrhSQ=
github.com/google/go-dap v0.5.0 h1:RMHAVn5xeunBakYk65ggHXttk6qjZVdbmi+xhAoL2wY=
github.com/google/go-dap v0.5.0/go.mod h1:5q8aYQFnHOAZEMP+6vmq25HKYAEwE+LF5yh7JKrrhSQ=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q=
Expand Down
4 changes: 2 additions & 2 deletions pkg/debug/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ func (ds *Session) SendEvent(event dap.EventMessage) {
case *dap.CapabilitiesEvent:
e.Event.Event = "capabilities"
}
event.GetProtocolMessage().Seq = 0
event.GetProtocolMessage().Type = "event"
event.GetEvent().ProtocolMessage.Seq = 0
event.GetEvent().ProtocolMessage.Type = "event"
ds.send(event)
}

Expand Down

0 comments on commit 05e1cdb

Please sign in to comment.