imgbot
Blaž Hrastnik 3 years ago
parent 09f5796537
commit 8b85903116

@ -381,6 +381,7 @@ impl Application {
Some(i) => {
let item = debugger.breakpoints.get_mut(i).unwrap();
item.verified = breakpoint.verified;
// TODO: wasteful clones
item.message = breakpoint.message.or_else(|| item.message.clone());
item.source = breakpoint.source.or_else(|| item.source.clone());
item.line = breakpoint.line.or(item.line);

@ -499,6 +499,8 @@ impl EditorView {
let selected = cursors.contains(&line);
// TODO: debugger should translate received breakpoints to 0-indexing
if let Some(user) = breakpoints.as_ref() {
let debugger_breakpoint = if let Some(debugger) = dbg_breakpoints.as_ref() {
debugger.iter().find(|breakpoint| {

Loading…
Cancel
Save