Skip to content

Disassembly View: don't display invalid memory instructions #249779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

eronnen
Copy link
Contributor

@eronnen eronnen commented May 26, 2025

Ignore instructions returned by the debug adapter that have invalid memory (-1).

This can happen when VSCode tries to disassemble unmapped memory, for example, when scrolling past a module address range.

Fix #249782

@eronnen eronnen changed the title Debugger disassembly: don't display invalid memory instructions Disassembly View: don't display invalid memory instructions May 26, 2025
@eronnen eronnen changed the title Disassembly View: don't display invalid memory instructions Disassembly View: don't display invalid memory instructions (Fixes #249782) May 26, 2025
@eronnen eronnen changed the title Disassembly View: don't display invalid memory instructions (Fixes #249782) Disassembly View: don't display invalid memory instructions May 26, 2025
@Yoyokrazy Yoyokrazy assigned connor4312 and unassigned Yoyokrazy May 28, 2025
@connor4312 connor4312 enabled auto-merge (squash) May 28, 2025 16:39
@vs-code-engineering vs-code-engineering bot added this to the May 2025 milestone May 28, 2025
@connor4312 connor4312 merged commit 6ad545f into microsoft:main May 28, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disassembly viewer displays instructions with invalid memory
4 participants