Visual Studio Code, rebuilt in Rust
Rust
feat(debug): compressed child session rows and skipFiles origin in the Call Stack
rokartur70d269fd4261
diff --git a/native/crates/app/src/workbench/debug_view.rs b/native/crates/app/src/workbench/debug_view.rsindex 642e24a2b7c..b412fd6cd67 100644--- a/native/crates/app/src/workbench/debug_view.rs+++ b/native/crates/app/src/workbench/debug_view.rs@@ -12,7 +12,7 @@ use super::Workbench;use super::call_stack_menu::CallStackItem;use super::hover::{HoverContent, HoverOptions};use super::input_box_view::{InputId, InputLook};-use crate::debug::session::{State, Variable};+use crate::debug::session::{Session, StackFrame, State, Variable};use crate::input_box::InputBox;pub(super) const DEBUG_CONTAINER: &str = "workbench.view.debug";@@ -493,26 +493,34 @@ impl Workbench {fn call_stack_rows(&self, cx: &mut Context<Self>) -> Vec<gpui::AnyElement> {let mut rows = Vec::new();let call_stack_menu = |item: CallStackItem| cx.listener(move |workbench, event: &MouseDownEvent, window, cx| workbench.show_call_stack_menu(&item, gpui::Bounds::new(event.position, Default::default()), window, cx));- let several = self.debug.sessions.iter().filter(|session| session.parent.is_none() || session.options["compact"] != true).count() > 1;+ let sessions = &self.debug.sessions;+ // callStackView.ts `getChildren`: one session shows its threads; more show the root sessions as rows.+ // shortcut: no sticky `isMultiSessionView`, a parent left alone by its ended child loses its row.+ let several = sessions.len() > 1;+ let mut shown = Vec::new();+ match several {+ true => sessions.iter().filter(|session| session.parent.is_none()).for_each(|root| shown_call_stack_sessions(sessions, root, 0, &mut shown)),+ false => shown.extend(sessions.first().map(|session| (session, 0))),+ }let label_background = self.color("debugView.stateLabelBackground");let label_foreground = self.color("debugView.stateLabelForeground");let description = self.color("descriptionForeground");let state_label = |text: String| div().ml_auto().mr(px(8.)).px(px(4.)).rounded(px(3.)).text_size(px(10.)).bg(label_background).text_color(label_foreground).child(text.to_uppercase());- for session in &self.debug.sessions {- let depth = usize::from(several);+ for (session, session_depth) in shown {+ let depth = session_depth + usize::from(several);if several {- let state = match session.state(None) {- State::Stopped => "Paused".to_owned(),- State::Running => "Running".into(),- State::Initializing => "Initializing".into(),- State::Inactive => String::new(),- };+ // `SessionsRenderer`: the state of the session's first stopped thread.+ let state = session.threads.iter().find(|thread| thread.stopped).map_or_else(|| "Running".to_owned(), |thread| thread.state_label());+ // modernUI fontRamp.css: session state labels are `text-transform: capitalize` at `fontSize.label1`.+ let state = state.split(' ').map(|word| word.chars().next().map_or_else(String::new, |first| first.to_uppercase().chain(word.chars().skip(1)).collect())).collect::<Vec<_>>().join(" ");+ let state = div().flex_none().ml_auto().mr(px(8.)).px(px(4.)).rounded(px(3.)).text_size(px(12.)).bg(label_background).text_color(label_foreground).child(state);let item = CallStackItem::Session(session.id.clone());- rows.push(self.debug_row(format!("session/{}", session.id), 0, Some(true)).child(self.icon("debug-alt-small", 16., 16., self.foreground_or("icon.foreground"))).child(session.name.clone()).child(state_label(state)).on_mouse_down(MouseButton::Right, call_stack_menu(item)).into_any_element());+ rows.push(self.debug_row(format!("session/{}", session.id), session_depth, Some(true)).child(self.icon("bug", 16., 16., self.foreground_or("icon.foreground"))).child(div().min_w_0().truncate().child(session.name.clone())).child(state).on_mouse_down(MouseButton::Right, call_stack_menu(item)).into_any_element());}for thread in &session.threads {let thread_key = format!("thread/{}/{}", session.id, thread.id);- let show_thread = session.threads.len() > 1 || several;+ // "Only show the threads in the call stack if there is more than 1 thread."+ let show_thread = session.threads.len() > 1;if show_thread {let item = CallStackItem::Thread(session.id.clone(), thread.id);rows.push(self.debug_row(thread_key.clone(), depth, Some(true)).child(thread.name.clone()).child(state_label(thread.state_label())).on_mouse_down(MouseButton::Right, call_stack_menu(item)).into_any_element());@@ -527,12 +535,14 @@ impl Workbench {let shown_key = format!("deemphasized/{}/{}", session.id, frame.id);let run = frames[index - 1..].iter().take_while(|frame| frame.deemphasized() && frame.source.is_object()).count();if run > 1 && !self.debug_view.expanded.contains(&shown_key) {- let keys: Vec<String> = frames[index - 1..index - 1 + run].iter().map(|frame| format!("deemphasized/{}/{}", session.id, frame.id)).collect();+ let folded = &frames[index - 1..index - 1 + run];+ let keys: Vec<String> = folded.iter().map(|frame| format!("deemphasized/{}/{}", session.id, frame.id)).collect();+ let label = show_more_label(folded);rows.push(self.debug_row(format!("more-frames/{}/{}", session.id, frame.id), frame_depth, None).justify_center()- .text_color(self.color("descriptionForeground"))- .child(format!("Show {run} More Stack Frames"))+ .text_color(self.color("textLink.foreground"))+ .child(div().opacity(0.5).child(label)).on_click(cx.listener(move |workbench, _: &ClickEvent, _, cx| {workbench.debug_view.expanded.extend(keys.iter().cloned());cx.notify();@@ -763,6 +773,38 @@ impl Workbench {}}+/// The session rows under `session` with their depth, merging a session into its only child session when that one is+/// compressible, as `CallStackCompressionDelegate` does: the merged row shows the last session.+fn shown_call_stack_sessions<'a>(sessions: &'a [Session], session: &'a Session, depth: usize, shown: &mut Vec<(&'a Session, usize)>) {+ let children = |parent: &Session| sessions.iter().filter(|child| child.parent.as_deref() == Some(parent.id.as_str())).collect::<Vec<_>>();+ let compressible = |session: &Session| session.options["compact"] == true || sessions.iter().any(|child| child.parent.as_deref() == Some(session.id.as_str()) && child.options["compact"] == true);+ let mut last = session;+ loop {+ let child_sessions = children(last);+ let other_children = match last.threads.as_slice() {+ [thread] => thread.frames.len(),+ threads => threads.len(),+ };+ match child_sessions.as_slice() {+ [only] if other_children == 0 && compressible(only) => last = only,+ _ => break,+ }+ }+ shown.push((last, depth));+ for child in children(last) {+ shown_call_stack_sessions(sessions, child, depth + 1, shown);+ }+}++/// `ShowMoreRenderer`: the folded frames' common source `origin`, as js-debug's "Skipped by skipFiles", else their count.+fn show_more_label(frames: &[StackFrame]) -> String {+ let origin = frames[0].source["origin"].as_str().filter(|origin| frames.iter().all(|frame| frame.source["origin"].as_str() == Some(*origin)));+ match origin {+ Some(origin) => format!("Show {} More: {origin}", frames.len()),+ None => format!("Show {} More Stack Frames", frames.len()),+ }+}+/// `command:` links of welcome content: the id and its JSON arguments.fn command_link(link: &str) -> (String, Vec<Value>) {let link = link.strip_prefix("command:").unwrap_or(link);@@ -872,6 +914,32 @@ mod tests {assert!(hint_after(1, cx));}+ /// callStackView.ts `ShowMoreRenderer`.+ #[test]+ fn folded_frames_name_their_common_origin() {+ let frame = |source: Value| StackFrame { source, ..Default::default() };+ let skipped = || frame(json!({ "path": "/n.js", "origin": "Skipped by skipFiles" }));+ assert_eq!(show_more_label(&[skipped(), skipped()]), "Show 2 More: Skipped by skipFiles");+ assert_eq!(show_more_label(&[skipped(), frame(json!({ "path": "/a.js" }))]), "Show 2 More Stack Frames");+ assert_eq!(show_more_label(&[frame(json!({ "path": "/a.js" }))]), "Show 1 More Stack Frames");+ }++ /// callStackView.ts `getChildren` with `CallStackCompressionDelegate`: js-debug's parent session and its compact+ /// child are one row showing the child; a session that is not compact keeps its own row.+ #[test]+ fn a_compact_child_session_merges_into_its_parent_row() {+ let session = |id: &str, options: Value| crate::debug::session::Session::new(id.into(), 1, json!({ "name": id }), json!({}), None, options);+ let mut child = session("app.js", json!({ "parentSessionID": "launch", "compact": true }));+ child.set_threads(&[json!({ "id": 1, "name": "main" })]);+ let sessions = [session("launch", json!({})), child, session("worker", json!({ "parentSessionID": "app.js" })), session("other", json!({}))];+ let mut shown = Vec::new();+ for root in sessions.iter().filter(|session| session.parent.is_none()) {+ shown_call_stack_sessions(&sessions, root, 0, &mut shown);+ }+ let shown: Vec<_> = shown.iter().map(|(session, depth)| (session.id.as_str(), *depth)).collect();+ assert_eq!(shown, [("app.js", 0), ("worker", 1), ("other", 0)]);+ }+#[test]fn welcome_lines_split_into_text_and_links() {assert_eq!(markdown_links("[JavaScript Debug Terminal](command:extension.js-debug.createDebuggerTerminal)"), vec![("JavaScript Debug Terminal".into(), Some("command:extension.js-debug.createDebuggerTerminal".into()))]);diff --git a/port/ledger.md b/port/ledger.mdindex 90bca755ea5..576746176d4 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -475,7 +475,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston| workbench/contrib/commands | workbench contribution | M9 | verified | | runCommands (commands.rs register_run_commands): cargo test -p app commands::, argument checks, spread args, order, stop at a failure; argument errors and the failure notify (cargo test -p app run_commands_argument_errors_notify) || workbench/contrib/comments | workbench contribution | M13 | verified | | Done: a reply and an edit form per thread and comment, open together (commentReply.ts per CommentThreadWidget): cargo test -p app two_threads_keep_their_reply_forms_open_together; a zone sized by the drawn comment bodies: cargo test -p app a_wrapped_comment_body_grows_its_zone; next/previous thread and Focus Comment on Current Line focus the thread's comments (`commentFocused`, Up/Down between comments, Escape collapses and selects the range): cargo test -p app the_reached_thread_takes_the_focus. Done in diff editors: glyphs, commenting ranges (asked for every side of every multi diff file), range highlights and zones on both sides of the diff editor and of each multi diff file, the other side aligned by a diagonal fill (workbench/editor_view/diff_editor_view.rs, multi_diff_editor_view.rs, diff_editor.rs `additional_heights`): cargo test -p app diff comment; ui-pair `portComments.openDiff` modified, original and multi. Floating widgets on a diff's original side and on both sides of each multi diff file (comment_thread_floating.rs `FloatingHost`, multi_diff_editor_view.rs `multi_diff_floating_hosts`), with `FloatingWidgetRoom` growing a file below its last line (commentThreadFloatingWidgetRoom.ts, `FileDiff.room`): cargo test -p app floating room multi_diff; ui-pair `portComments.openDiff` original and multi with the floating style. Range decorations (commentThreadRangeDecorator.ts and the floating empty-range line, workbench/comment_thread_widget.rs `comment_range_highlights`): cargo test -p app comment_thread_floating. The floating thread style (`comments.thread.experimental.style: floating`; workbench/comment_thread_floating_layout.rs with commentThreadFloatingWidget.test.ts ported, workbench/comment_thread_floating.rs: placement beside the code or its lines in code order, the outline and connector, title drag, edge resize, double-click reset, the layout kept per thread, wheel to the editor): cargo test -p app comment_thread_floating, ui-pair steps-comment-floating.json (port/results/language-features.md Floating comment threads). Done: the Comments panel (workbench/comments_view.rs: resources, threads with author, relative time, first line, range and replies, the unresolved badge, a markdown preview's images as "Image: {alt}" (cargo test -p app a_markdown_comment_previews_its_first_rendered_block), the filter box with Show Resolved/Unresolved and Sort By, its history in the memento's `filterHistory`, Escape and Cmd+Down while `commentsFilterFocus` (cargo test -p app the_filter_keeps_its_history_and_escape_clears_it; no match highlights, as commentsTreeViewer.ts's renderers ignore the filter data), Collapse/Expand All, row selection and keys; hideIfEmpty; a thread row's `commentsView/commentThread/context` inline actions and context menu with the built-in Reply, which reveals the thread with its zone expanded and reply open: cargo test -p app the_thread_menu_replies_to_the_thread), the gutter glyph that toggles the thread (workbench/editor_view/comment_glyph.rs) and the thread widget (workbench/comment_thread_widget.rs: zone, state colors, head with `comments/commentThread/title` actions and Collapse, markdown comments with `code` spans on no `textCodeBlock.background` (cargo test -p app a_comment_s_code_span_draws_no_code_block_background), reply form with `comments/commentThread/context` buttons and Cmd+Enter), each comment (workbench/comment_node.rs: `comments/comment/title` actions, edit mode with `comments/comment/context` buttons, reactions and their picker), commenting ranges with the add glyph, Add Comment and template threads (workbench/commenting_ranges.rs), the comment commands (workbench/comment_navigation.rs: Collapse/Expand All, Expand Unresolved, Toggle Editor Commenting, Focus Comment on Current Line, Dismiss Comment, next/previous thread, commented range and commenting range, reached at the provider's columns unless it holds the cursor: cargo test -p app a_commenting_range_is_reached_at_its_columns_unless_it_holds_the_cursor) and the comments accessibility help: cargo test -p app comment; ui-pair port/results/language-features.md (Comments, Comment editing and commands); Escape keeps a new template open as the reference does (ui-pair steps-comment-escape-typed.json, cargo test -p app dismissing_a_new_template_keeps_it_open). The reply and edit inputs are code editors (simpleCommentEditor.ts: a `comment`-scheme markdown model, word wrap, no glyph margin, line numbers or folding, `scrollBeyondLastLine` false, 5 to 25 lines by `calculateEditorHeight`) that take the focus with `commentEditorFocused`, Cmd+Enter submits and Escape hides; the host gets the input's document and no text editor (workbench/comment_thread_widget.rs `open_comment_editor`, workbench/editor.rs `comment_editor`): cargo test -p app an_expanded_thread_shows_a_zone_and_replies_run_the_form_actions a_comment_switched_to_editing_runs_the_edit_actions; ui-pair steps-comment-reply-editor.json (reply-empty, reply-lines, reply-grown). Comments panel rows: 4px pane inset, 4px radius and the tree's indent guides as the Problems tree (cargo test -p app rows_sit_in_the_pane_s_inset_with_the_tree_s_indent_and_guides; ui-pair steps-comments.json: chevron, name and thread line at the reference's x and y) || workbench/contrib/customEditor | workbench contribution | M17 | verified | | Each editor of a custom text editor's resource, the one opened in another group and a split's copy, has a webview of its own (customEditorInput.ts: cargo test -p app each_group_s_custom_text_editor_has_its_own_webview); Opening a custom text editor with `options.selection` reveals it in the panel and leaves the text model's cursor (cargo test -p app a_custom_text_editor_s_navigation_drives_the_outline); A custom document open in another group moves to the active one, or with `supportsMultipleEditorsPerDocument` gets a second editor there (editorResolverService.ts `moveExistingEditorForResource`: cargo test -p app a_custom_document_open_in_another_group_moves_to_the_active_one a_custom_document_with_multiple_editors_opens_one_more_in_the_active_group); `workbench.editorAssociations` merged as editorResolverService.ts `getAllUserAssociationsForSetting`: the workspace's globs before the default's and user's (cargo test -p app a_workspace_association_wins_over_a_user_one_of_the_same_length); Reopen Editor With puts a closed custom or notebook editor's replacement in its place, pinned (editorGroupView.ts `replaceEditors`: cargo test -p app a_reopened_preview_keeps_its_tab_position); Two default editors for one resource warn once and remember the choice per extension glob (editorResolverService.ts `doHandleConflictingDefaults`: cargo test -p app two_default_editors_for_a_resource_ask_once_which_to_keep); the memento's custom editors until the extensions register (cargo test -p app markdown_editor_files_offer); editor resolution by `workbench.editorAssociations` and contributed selectors (editorResolverService.ts ranks), Reopen Editor With picker (`reopenActiveEditorWith`, `workbench.action.reopenWithEditor`), `_workbench.open`, `_workbench.openWith`; `FIXTURE=custom-editor-tests port/tools/webview-check` 8/8; cargo test -p app custom_editors |-| workbench/contrib/debug | workbench contribution | M16 | ported | [3 M] debug_view.rs: against the reference with js-debug (ui-pair `debug/call-stack-menu.json`, `FOLDER=port/fixtures/debug-node`) the Call Stack has no row for the child session `app.js` with its `Paused On Breakpoint` label, the folded frames read `Show 7 More Stack Frames` instead of `Show 7 More: Skipped by skipFiles`, and a right-clicked row gets no focus outline <br> [3 L] variable context menus: DebugVariablesContext, DebugWatchContext and DebugHoverContext (Copy Value, Copy as Expression, Add to Watch, Set Value, Break When Value Is Read/Changes/Is Accessed, View Binary Data) not ported <br> [3 L] debug visualizers: debugVisualizers.ts, `VisualizedExpression` rows in the Variables view and the hover not ported <br> [3 M] lazy variables: `presentationHint.lazy` rows and their reveal button (baseDebugView.ts `lazyButton`) not ported in the hover, Variables or Watch <br> [3 M] debug_hover.rs: Alt+click on an expandable hover row (abstractTree.ts `toggleCollapsed(location, recursive)`) expands one level, not the whole subtree <br> [3 M] debug_hover.rs: the hover tree has no find widget (abstractTree.ts `FindController`, `list.find`) | ui-pair port/fixtures/debug-node: gutter breakpoint, F5 stops at it, Variables (Local: main), Call Stack with folded deemphasized frames, Breakpoints, Debug Console REPL, toolbar, status bar entry; cargo test -p app debug; Breakpoints header `$(warning)` hint for the debugger's `strings.unverifiedBreakpoints` after breakpointsView.ts's 4s `hintDelayer`, restarted by every breakpoint change (cargo test -p app debug_view; ui-pair port/fixtures/ui-pair/debug/unverified-breakpoints.json with js-debug's unbound math.test.js breakpoint); preLaunchTask, postDebugTask, compound preLaunchTask and the restart tasks through debugTaskRunner.ts's runner with `debug.onTaskErrors`, the remembered task error choice and the slow task notification (cargo test -p app debug_task_runner); Run to Cursor's temporary breakpoint with debugService.ts `runTo`'s 2s verification wait, thread choice from the sessions that verified it, and removal at the next stop or session end (cargo test -p app debug_commands); Debug Console output styled by its SGR sequences with the theme's ANSI colors at contrast 4 (cargo test -p app debug_console debug::ansi); Debug Console filter box (replFilter.ts terms, "Showing N of M" badge, Cmd+F `repl.action.filter`, value and history in workspace storage) and session picker (consoles of the sessions with `hasSeparateRepl`, `mergeWithParent` children in the parent's, selection focuses the session or its stopped child), input history in workspace storage (`debug.repl.history`) (cargo test -p app debug_console); ended sessions stay inactive in the console picker with their output until Clear Console or a start of the same configuration (debugModel.ts `addSession`, repl.ts `sessionsToIgnore`; cargo test -p app an_ended_session_stays_in_the_picker_until_cleared_or_started_again); debugUtils.ts `saveAllBeforeDebugStart` before a start (not for a child session or with `suppressSaveBeforeStart`) and a restart, by `debug.saveBeforeStart` (cargo test -p app a_start_or_restart_saves_the_dirty_editors); triggered breakpoints: debugSession.ts `enableDependentBreakpoints` by `hitBreakpointIds` or the top frame's position sets `sessionsDidTrigger` and sends the files again, continue and the steps wait for it up to 1.5 s (`waitForTriggeredBreakpoints`), a restart clears it (cargo test -p app a_hit_breakpoint_enables_its_dependents); `debug.inlineValues` after the focused frame's lines: the `InlineValuesProvider`s' values (`$provideInlineValues`) or the most specific scopes' variables named on each line, their `formatHoverContent` hover, the 100ms removal on continue (cargo test -p app debug_inline_values); debugHover.ts in place of the editor hover while a frame is focused in the file: the `$provideEvaluatableExpression` range or the dotted path under the mouse, `hover` evaluation or the scopes' variable, Cmd+K Cmd+I focused, Alt for the editor hover, the tree's list keys and `layoutTree` height, the glyph margin's lockout release, the caret edge nearer the mouse (cargo test -p app debug_hover; ui-pair port/fixtures/debug-node `greeting` and `numbers` hovers); disassemblyView.ts: the `disassemble` requests around the focused frame's instruction pointer, the glyph click's instruction breakpoint (`setInstructionBreakpoints`), the Breakpoints view's instruction rows, `instruction` stepping granularity while the view is active, the table's focus on reload, the list keys' focus, selection and clear, Page Up/Down over the rows' own heights, the hover column border (cargo test -p app disassembly list_tree a_step_in_the_disassembly_view debug::tests::instruction_breakpoints debug::tests::remove_instruction_breakpoints); shortcuts in port/notes.md |+| workbench/contrib/debug | workbench contribution | M16 | ported | [3 M] debug_view.rs: against the reference with js-debug (ui-pair `debug/call-stack-menu.json`, `FOLDER=port/fixtures/debug-node`) the debug views' lists have no list focus, so a right-clicked Call Stack row gets no `list.focusOutline` outline and a selected row keeps the inactive selection color, and a frame row shows its line as `app.js 5:2` text where the reference has `app.js` with a `5:2` badge <br> [3 L] variable context menus: DebugVariablesContext, DebugWatchContext and DebugHoverContext (Copy Value, Copy as Expression, Add to Watch, Set Value, Break When Value Is Read/Changes/Is Accessed, View Binary Data) not ported <br> [3 L] debug visualizers: debugVisualizers.ts, `VisualizedExpression` rows in the Variables view and the hover not ported <br> [3 M] lazy variables: `presentationHint.lazy` rows and their reveal button (baseDebugView.ts `lazyButton`) not ported in the hover, Variables or Watch <br> [3 M] debug_hover.rs: Alt+click on an expandable hover row (abstractTree.ts `toggleCollapsed(location, recursive)`) expands one level, not the whole subtree <br> [3 M] debug_hover.rs: the hover tree has no find widget (abstractTree.ts `FindController`, `list.find`) | ui-pair port/fixtures/debug-node: gutter breakpoint, F5 stops at it, Variables (Local: main), Call Stack with folded deemphasized frames, Breakpoints, Debug Console REPL, toolbar, status bar entry; cargo test -p app debug; Breakpoints header `$(warning)` hint for the debugger's `strings.unverifiedBreakpoints` after breakpointsView.ts's 4s `hintDelayer`, restarted by every breakpoint change (cargo test -p app debug_view; ui-pair port/fixtures/ui-pair/debug/unverified-breakpoints.json with js-debug's unbound math.test.js breakpoint); preLaunchTask, postDebugTask, compound preLaunchTask and the restart tasks through debugTaskRunner.ts's runner with `debug.onTaskErrors`, the remembered task error choice and the slow task notification (cargo test -p app debug_task_runner); Run to Cursor's temporary breakpoint with debugService.ts `runTo`'s 2s verification wait, thread choice from the sessions that verified it, and removal at the next stop or session end (cargo test -p app debug_commands); Debug Console output styled by its SGR sequences with the theme's ANSI colors at contrast 4 (cargo test -p app debug_console debug::ansi); Debug Console filter box (replFilter.ts terms, "Showing N of M" badge, Cmd+F `repl.action.filter`, value and history in workspace storage) and session picker (consoles of the sessions with `hasSeparateRepl`, `mergeWithParent` children in the parent's, selection focuses the session or its stopped child), input history in workspace storage (`debug.repl.history`) (cargo test -p app debug_console); ended sessions stay inactive in the console picker with their output until Clear Console or a start of the same configuration (debugModel.ts `addSession`, repl.ts `sessionsToIgnore`; cargo test -p app an_ended_session_stays_in_the_picker_until_cleared_or_started_again); debugUtils.ts `saveAllBeforeDebugStart` before a start (not for a child session or with `suppressSaveBeforeStart`) and a restart, by `debug.saveBeforeStart` (cargo test -p app a_start_or_restart_saves_the_dirty_editors); triggered breakpoints: debugSession.ts `enableDependentBreakpoints` by `hitBreakpointIds` or the top frame's position sets `sessionsDidTrigger` and sends the files again, continue and the steps wait for it up to 1.5 s (`waitForTriggeredBreakpoints`), a restart clears it (cargo test -p app a_hit_breakpoint_enables_its_dependents); `debug.inlineValues` after the focused frame's lines: the `InlineValuesProvider`s' values (`$provideInlineValues`) or the most specific scopes' variables named on each line, their `formatHoverContent` hover, the 100ms removal on continue (cargo test -p app debug_inline_values); debugHover.ts in place of the editor hover while a frame is focused in the file: the `$provideEvaluatableExpression` range or the dotted path under the mouse, `hover` evaluation or the scopes' variable, Cmd+K Cmd+I focused, Alt for the editor hover, the tree's list keys and `layoutTree` height, the glyph margin's lockout release, the caret edge nearer the mouse (cargo test -p app debug_hover; ui-pair port/fixtures/debug-node `greeting` and `numbers` hovers); disassemblyView.ts: the `disassemble` requests around the focused frame's instruction pointer, the glyph click's instruction breakpoint (`setInstructionBreakpoints`), the Breakpoints view's instruction rows, `instruction` stepping granularity while the view is active, the table's focus on reload, the list keys' focus, selection and clear, Page Up/Down over the rows' own heights, the hover column border (cargo test -p app disassembly list_tree a_step_in_the_disassembly_view debug::tests::instruction_breakpoints debug::tests::remove_instruction_breakpoints); Call Stack: js-debug's compact child session merged into its parent's row with modernUI's capitalized state label, the folded frames' common source `origin` (callStackView.ts `CallStackCompressionDelegate`, `ShowMoreRenderer`: cargo test -p app debug_view; ui-pair port/fixtures/ui-pair/debug/call-stack-menu.json); shortcuts in port/notes.md || workbench/contrib/dropOrPasteInto | workbench contribution | M13 | verified | | commands.ts `configurePreferredPasteAction`/`configurePreferredDropAction`: the widgets' menus and the Paste As pick open user settings JSON at `editor.pasteAs.preferences` or `editor.dropIntoEditor.preferences` (workbench/paste_edits.rs); the `editor.pasteAs.*` and `editor.dropIntoEditor.*` settings come from core-settings.json; ui-pair paste-menu (port/results/language-features.md) || workbench/contrib/editSessions | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported || workbench/contrib/editTelemetry | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |