debugger: Clear active debug line on thread continued (#29811)

I also moved the breakpoint store to session from local mode, because
both remote/local modes will need the ability to remove active debug
lines.

Release Notes:

- N/A
This commit is contained in:
Anthony Eid 2025-05-02 15:24:28 -04:00 committed by GitHub
parent e6b0d8e48b
commit da98e300cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 65 additions and 40 deletions

View file

@ -442,7 +442,6 @@ impl DapStore {
};
let dap_store = cx.weak_entity();
let breakpoint_store = self.breakpoint_store.clone();
let definition = session.read(cx).definition();
cx.spawn({
@ -456,7 +455,7 @@ impl DapStore {
session
.update(cx, |session, cx| {
session.boot(binary, worktree, breakpoint_store, dap_store, cx)
session.boot(binary, worktree, dap_store, cx)
})?
.await
}