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.
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