delve/service
Alessandro Arzilli a97da22762
proc: do not assign temporary breakpoint IDs (#2650)
Internal breakpoints do not need IDs and assigning them from a counter
separate from the user ID counter can be a cause of confusion.
If a user breakpoint is overlayed on top of a pre-existing internal
breakpoint the temporary ID will be surfaced as if it was a user ID,
possibly conflicting with another user ID.
If a temporary breakpoint is overlayed on top of a pre-existing user
breakpoint and the user breakpoint is first deleted and then
re-created, the user ID will be resurrected along with the breakpoint,
instead of allocating a fresh one.

This change removes internal breakpoint IDs entirely, only user
breakpoints receive an ID.
2021-09-29 12:01:37 +02:00
..
api proc: do not assign temporary breakpoint IDs (#2650) 2021-09-29 12:01:37 +02:00
dap service/rpccommon,service/dap: warn about listening to remote connections (#2721) 2021-09-29 09:53:27 +02:00
debugger proc: do not assign temporary breakpoint IDs (#2650) 2021-09-29 12:01:37 +02:00
internal/sameuser service: fix sameuser check (#2642) 2021-08-10 11:40:39 +02:00
rpc1 *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
rpc2 *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
rpccommon service/rpccommon,service/dap: warn about listening to remote connections (#2721) 2021-09-29 09:53:27 +02:00
test pkg/proc: merge register data before writing to register (#2699) 2021-09-24 15:27:44 -07:00
client.go proc,terminal,service: support stack watchpoints (#2521) 2021-08-09 10:41:25 -07:00
config.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
listenerpipe.go cmd,service: in non-headless mode use an in-memory connection 2018-10-08 15:11:13 -07:00
rpccallback.go service: serialize calls to Command API (#2370) 2021-03-08 10:05:10 -08:00
server.go cmd,service: remove temporary def of Server interface in func 2018-10-09 07:56:48 -07:00