debugger: Fix up Rust test tasks definitions (#30232)
Closes #ISSUE Release Notes: - N/A --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
parent
3cc8850a58
commit
ee56706d15
8 changed files with 53 additions and 27 deletions
|
@ -283,13 +283,14 @@ impl DapStore {
|
|||
pub fn debug_scenario_for_build_task(
|
||||
&self,
|
||||
build: TaskTemplate,
|
||||
adapter: SharedString,
|
||||
adapter: DebugAdapterName,
|
||||
label: SharedString,
|
||||
cx: &mut App,
|
||||
) -> Option<DebugScenario> {
|
||||
DapRegistry::global(cx)
|
||||
.locators()
|
||||
.values()
|
||||
.find_map(|locator| locator.create_scenario(&build, &adapter))
|
||||
.find_map(|locator| locator.create_scenario(&build, &label, adapter.clone()))
|
||||
}
|
||||
|
||||
pub fn run_debug_locator(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue