Skip to content

disasembly view: handle negative line height returned by debug adapter#250081

Merged
connor4312 merged 1 commit intomicrosoft:mainfrom
eronnen:disassembly-handle-negative-line-height
May 31, 2025
Merged

disasembly view: handle negative line height returned by debug adapter#250081
connor4312 merged 1 commit intomicrosoft:mainfrom
eronnen:disassembly-handle-negative-line-height

Conversation

@eronnen
Copy link
Contributor

@eronnen eronnen commented May 29, 2025

Handle gracefully instructions returned by the debug adapter with endLine smaller than line, Otherwise getHeight can return a negative number which can mess up the view.

Fixes #250174. After the fix:

Screencast.From.2025-05-31.09-07-14.webm

@eronnen eronnen force-pushed the disassembly-handle-negative-line-height branch from e264059 to 8bf09e4 Compare May 31, 2025 07:05
@connor4312 connor4312 enabled auto-merge (squash) May 31, 2025 22:57
@vs-code-engineering vs-code-engineering bot added this to the May 2025 milestone May 31, 2025
@connor4312 connor4312 merged commit 3835b05 into microsoft:main May 31, 2025
7 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jul 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disassembler viewer overlapping instruction lines

4 participants