# debugger: Fix bug where deleting a breakpoint could delete multiple breakpoints \(\#28562\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d4736a54275ac67d13b28aa365b1a1208e7a435c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d4736a54275ac67d13b28aa365b1a1208e7a435c

Requested commit: d4736a54275ac67d13b28aa365b1a1208e7a435c

Commit: d4736a54275ac67d13b28aa365b1a1208e7a435c

Tree: 814bf22534c07a34d3f32e3417ebf26a5e4d7536

Author: Anthony Eid

Committer: GitHub

## Message

```
debugger: Fix bug where deleting a breakpoint could delete multiple breakpoints (#28562)

This PR fixes a bug when deleting a breakpoint with a (log, conditional,
hit condition) message by removing the message. All breakpoints that
contain that type of message were also deleted.

Release Notes:

- N/A
```

## Parents

- [353ae2335b8b72fd29ac099e90455477c98c6e38](https://git.cafe/gitcafe/zed/commit/353ae2335b8b72fd29ac099e90455477c98c6e38?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d4736a54275ac67d13b28aa365b1a1208e7a435c?format=markdown)
