debugger: Remove fake adapter and un-gate GDB (#27557)
This is a clean-up PR in anticipation of introduction of Debugger Registry. I wanna get rid of DebugAdapterKind (or rather, it being an enum). Release Notes: - N/A --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me> Co-authored-by: Anthony <anthony@zed.dev>
This commit is contained in:
parent
56eb650f09
commit
4839195003
53 changed files with 1315 additions and 924 deletions
|
@ -41,6 +41,8 @@ command_palette.workspace = true
|
|||
command_palette_hooks.workspace = true
|
||||
component_preview.workspace = true
|
||||
copilot.workspace = true
|
||||
dap.workspace = true
|
||||
dap_adapters.workspace = true
|
||||
debugger_ui.workspace = true
|
||||
debugger_tools.workspace = true
|
||||
db.workspace = true
|
||||
|
@ -149,6 +151,7 @@ ashpd.workspace = true
|
|||
|
||||
[dev-dependencies]
|
||||
call = { workspace = true, features = ["test-support"] }
|
||||
dap = { workspace = true, features = ["test-support"] }
|
||||
editor = { workspace = true, features = ["test-support"] }
|
||||
gpui = { workspace = true, features = ["test-support"] }
|
||||
image_viewer = { workspace = true, features = ["test-support"] }
|
||||
|
|
|
@ -11,6 +11,7 @@ use cli::FORCE_CLI_MODE_ENV_VAR_NAME;
|
|||
use client::{parse_zed_link, Client, ProxySettings, UserStore};
|
||||
use collab_ui::channel_view::ChannelView;
|
||||
use collections::HashMap;
|
||||
use dap::DapRegistry;
|
||||
use db::kvp::{GLOBAL_KEY_VALUE_STORE, KEY_VALUE_STORE};
|
||||
use editor::Editor;
|
||||
use extension::ExtensionHostProxy;
|
||||
|
@ -422,6 +423,7 @@ fn main() {
|
|||
|
||||
let app_state = Arc::new(AppState {
|
||||
languages: languages.clone(),
|
||||
debug_adapters: DapRegistry::default().into(),
|
||||
client: client.clone(),
|
||||
user_store: user_store.clone(),
|
||||
fs: fs.clone(),
|
||||
|
@ -433,6 +435,7 @@ fn main() {
|
|||
AppState::set_global(Arc::downgrade(&app_state), cx);
|
||||
|
||||
auto_update::init(client.http_client(), cx);
|
||||
dap_adapters::init(app_state.debug_adapters.clone());
|
||||
auto_update_ui::init(cx);
|
||||
reliability::init(
|
||||
client.http_client(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue