# debugger_ui: Fix debugger tab drop crash \(\#55667\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8aedcbf410d3c9d1a5ca756a05d12fdb68a192e7

Requested commit: 8aedcbf410d3c9d1a5ca756a05d12fdb68a192e7

Commit: 8aedcbf410d3c9d1a5ca756a05d12fdb68a192e7

Tree: 0c6b2bcc4324ba955c87a127d27106972bb493e3

Author: Lukas Wirth

Committer: GitHub

## Message

```
debugger_ui: Fix debugger tab drop crash (#55667)

Avoid reading the source debugger pane during SubView drop handling
because it may be the Pane currently being updated. Use the DraggedTab
item handle to validate the drop and capture the item id, leaving
source-pane reads to the deferred move. Add a regression test for a
stale SubView host pane during tab drop.

Fixes ZED-74F

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

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

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