Description
Type: Bug
The expected behavior is that clicking on a stack frame when the source code is focused should keep focus on the source code and jump to the associated line. When the disassembly view is focused, clicking on a stack frame should keep the disassembly view focused and jump to the associated instruction.
This works as expected until a step is performed with the disassembly view focused. Then, clicking on stack frames always focuses on the disassembly view, even if the source code is refocused.
The expected behavior comes back if another step is performed with the source code focused.
This video shows the expected behavior and then the behavior after stepping:
vscode_disassembly_focus_issue.mp4
Steps to Reproduce:
- Start a debug session with the mock-debug extension
- Step until execution reaches line 55 (the paragraph under the "Disassembly View" heading)
- Open the disassembly view with the context menu for the editor or any stack frames
- With the disassembly view focused, step over, causing execution to step to the next word
- Refocus the markdown file window
- Click on any stack frames
- See that the focus jumps back to the disassembly view
This issue should also be reproducible if you use "Step Into", "Step Out", or "Step Back" with the disassembly view focused.
VS Code version: Code 1.100.3 (258e40f, 2025-06-02T13:30:54.273Z)
OS version: Linux x64 6.14.6-arch1-1
Modes:
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen Threadripper 1950X 16-Core Processor (32 x 2793) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off webnn: disabled_off |
Load (avg) | 2, 1, 2 |
Memory (System) | 62.66GB (46.69GB free) |
Process Argv | --crash-reporter-id 7d5ad6ef-34f6-4670-aa76-057c6dedc880 |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | hyprland |
XDG_CURRENT_DESKTOP | Hyprland |
XDG_SESSION_DESKTOP | hyprland |
XDG_SESSION_TYPE | wayland |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249599
vscod805cf:30301675
binariesv615:30325510
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
pythonpulldiagcf:31325931
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
pylancecolor:31314202
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004