From 53683491e6826bc13bf7f333e689daa62d90b12e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20S=C3=A1ez?= Date: Tue, 21 Mar 2023 18:13:34 +0100 Subject: [PATCH] Add address operator to make it compatible with go-dap 0.7.0 --- service/dap/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/dap/server.go b/service/dap/server.go index 07300295..3c953ddf 100644 --- a/service/dap/server.go +++ b/service/dap/server.go @@ -1411,7 +1411,7 @@ func (s *Session) updateBreakpointsResponse(breakpoints []dap.Breakpoint, i int, path := s.toClientPath(got.File) breakpoints[i].Id = got.ID breakpoints[i].Line = got.Line - breakpoints[i].Source = dap.Source{Name: filepath.Base(path), Path: path} + breakpoints[i].Source = &dap.Source{Name: filepath.Base(path), Path: path} } } -- 2.39.2