debugger: Add support for CodeLLDB (#28376)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-04-09 12:57:24 +02:00 committed by GitHub
parent 61ddcd516f
commit c441b651fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 172 additions and 13 deletions

View file

@ -40,7 +40,7 @@ pub enum TerminalKind {
command: Option<String>,
args: Vec<String>,
envs: HashMap<String, String>,
cwd: PathBuf,
cwd: Option<Arc<Path>>,
title: Option<String>,
},
}
@ -101,7 +101,7 @@ impl Project {
self.active_project_directory(cx)
}
}
TerminalKind::Debug { cwd, .. } => Some(Arc::from(cwd.as_path())),
TerminalKind::Debug { cwd, .. } => cwd.clone(),
};
let mut settings_location = None;
@ -205,7 +205,7 @@ impl Project {
this.active_project_directory(cx)
}
}
TerminalKind::Debug { cwd, .. } => Some(Arc::from(cwd.as_path())),
TerminalKind::Debug { cwd, .. } => cwd.clone(),
};
let ssh_details = this.ssh_details(cx);