Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
debugger: Don't open non-absolute paths from stack frame list (#31534)
Cole Millerf20596c33ba9
diff --git a/crates/debugger_ui/src/session/running/stack_frame_list.rs b/crates/debugger_ui/src/session/running/stack_frame_list.rsindex 2120cbca539..3e38dad501a 100644--- a/crates/debugger_ui/src/session/running/stack_frame_list.rs+++ b/crates/debugger_ui/src/session/running/stack_frame_list.rs@@ -250,9 +250,6 @@ impl StackFrameList {let Some(abs_path) = Self::abs_path_from_stack_frame(&stack_frame) else {return Task::ready(Err(anyhow!("Project path not found")));};- if abs_path.starts_with("<node_internals>") {- return Task::ready(Ok(()));- }let row = stack_frame.line.saturating_sub(1) as u32;cx.emit(StackFrameListEvent::SelectedStackFrameChanged(stack_frame_id,@@ -345,6 +342,7 @@ impl StackFrameList {s.path.as_deref().map(|path| Arc::<Path>::from(Path::new(path)))+ .filter(|path| path.is_absolute())})}