debugger: Run build in terminal (#29645)
Currently contains the pre-work of making sessions creatable without a definition, but still need to change the spawn in terminal to use the running session Release Notes: - N/A --------- Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
parent
c12e6376b8
commit
ff215b4f11
12 changed files with 695 additions and 622 deletions
|
@ -66,7 +66,7 @@ use image_store::{ImageItemEvent, ImageStoreEvent};
|
|||
use ::git::{blame::Blame, status::FileStatus};
|
||||
use gpui::{
|
||||
AnyEntity, App, AppContext, AsyncApp, BorrowAppContext, Context, Entity, EventEmitter, Hsla,
|
||||
SharedString, Task, WeakEntity, Window, prelude::FluentBuilder,
|
||||
SharedString, Task, WeakEntity, Window,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
use language::{
|
||||
|
@ -3565,10 +3565,9 @@ impl Project {
|
|||
) -> Task<anyhow::Result<Vec<InlayHint>>> {
|
||||
let snapshot = buffer_handle.read(cx).snapshot();
|
||||
|
||||
let Some(inline_value_provider) = session
|
||||
.read(cx)
|
||||
.adapter_name()
|
||||
.map(|adapter_name| DapRegistry::global(cx).adapter(&adapter_name))
|
||||
let adapter = session.read(cx).adapter();
|
||||
let Some(inline_value_provider) = DapRegistry::global(cx)
|
||||
.adapter(&adapter)
|
||||
.and_then(|adapter| adapter.inline_value_provider())
|
||||
else {
|
||||
return Task::ready(Err(anyhow::anyhow!("Inline value provider not found")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue