delve/service/dap
Ruijie Chen 20df19e33b
service/dap: Add support for empty string in substitutePath (#3088)
This changes adds the support to replace relative paths sources with "" as rapresenting current directory.
For example:
Rule like '{from: "", to: "/my/project"}' will map path "src/my/code.go" into "/my/project/src/my/code.go"
Rule like '{from: "/my/project", to: ""}' will map path "/my/project/src/my/code.go" into "src/my/code.go"

Fixes #3082
2022-08-14 16:01:39 +02:00
..
daptest service/dap: support terminateDebuggee option for attach only (#2940) 2022-03-22 07:19:56 -07:00
command.go service/dap: support goroutine filters in dap (#2759) 2021-12-07 09:23:55 -08:00
config_test.go service/dap: Add support for empty string in substitutePath (#3088) 2022-08-14 16:01:39 +02:00
config.go service/dap: support goroutine filters in dap (#2759) 2021-12-07 09:23:55 -08:00
error_ids.go service-*: conform to godoc comments (#2916) 2022-03-09 09:12:42 -08:00
handles.go service/dap: implement array, slice, and map paging (#2512) 2021-06-10 09:34:20 -07:00
server_test.go service/dap: fix indexing bug for maps (#3068) 2022-07-29 11:58:46 +02:00
server.go service/dap: fix indexing bug for maps (#3068) 2022-07-29 11:58:46 +02:00
types.go service/dap: Add support for empty string in substitutePath (#3088) 2022-08-14 16:01:39 +02:00