@@ -677,7 +677,6 @@ pub fn dap_disable_exceptions(cx: &mut Context) {
679// TODO: both edit condition and edit log need to be stable: we might get new breakpoints from the debugger which can change offsets
679// TODO: both edit condition and edit log need to be stable: we might get new breakpoints from the debugger which can change offsets
680−// we also might be editing a breakpoint in a document that's no longer focused
681pub fn dap_edit_condition(cx: &mut Context) {
680pub fn dap_edit_condition(cx: &mut Context) {
682 if let Some((pos, breakpoint)) = commands::cmd::get_breakpoint_at_current_line(cx.editor) {
681 if let Some((pos, breakpoint)) = commands::cmd::get_breakpoint_at_current_line(cx.editor) {
683 let path = match doc!(cx.editor).path() {
682 let path = match doc!(cx.editor).path() {