delve/service/api
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
..
conversions.go proc: do not assign temporary breakpoint IDs (#2650) 2021-09-29 12:01:37 +02:00
prettyprint_test.go terminal: add -size argument to examinemem command 2020-09-11 08:21:11 +02:00
prettyprint.go terminal,api: move PrintStack function (#2537) 2021-06-16 13:05:17 -07:00
types.go *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00