eclipse-cdt-cloud / vscode-memory-inspector

vscode memory inspector
https://open-vsx.org/extension/eclipse-cdt/memory-inspector
Eclipse Public License 2.0
6 stars 10 forks source link

Memory Inspector issues memory request if address field is empty #126

Closed jreineckearm closed 4 months ago

jreineckearm commented 4 months ago

Description

If a window update is requested with an empty address field, the Memory Inspector issues a request with an empty memory reference. I haven't checked what happens if other fields like length are empty.

We should validate if enough information is available for a memory request and handle this in the window rather than letting the debug adapter potentially run into an error.

How to reproduce:

Open a new memory inspector window through the command palette.

Expected behavior

Such scenarios are handled gracefully and users are made aware of the missing information for a window update.

Environment

Additional information