debugger: Do not allow setting breakpoints in buffers without file storage (#27094)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
@@ -6052,6 +6052,9 @@ impl Editor {
|
||||
continue;
|
||||
};
|
||||
|
||||
if buffer.read(cx).file().is_none() {
|
||||
continue;
|
||||
}
|
||||
let breakpoints = breakpoint_store.read(cx).breakpoints(
|
||||
&buffer,
|
||||
Some(info.range.context.start..info.range.context.end),
|
||||
|
||||
Reference in New Issue
Block a user