# Serialize breakpoints when changing the state of a breakpoint \(\#27373\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 350c1e41d2f6d47e1acc0bcdff78a9d7bbc93f0c

Requested commit: 350c1e41d2f6d47e1acc0bcdff78a9d7bbc93f0c

Commit: 350c1e41d2f6d47e1acc0bcdff78a9d7bbc93f0c

Tree: 4297e6a7d318c77ee2429db56ac67ec48d4822a0

Author: Anthony Eid

Committer: GitHub

## Message

```
Serialize breakpoints when changing the state of a breakpoint (#27373)

This fixes a rare bug where a breakpoint isn't saved in the database
when a user toggles a breakpoint and immediately exits out of zed.

Release Notes:

- N/A

Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com>
```

## Parents

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

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