You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the Memory Inspector modifies memory. Like with the new apply/store from/to file functionality.
other debugger operations happen that explicitly or implicitly modify memory contents.
The Memory Inspector's debug tracker should look out for such event.
Memory Inspector window instances should be checked if they are affected. If they are, the windows should be refreshed. "Actual" window configurations, e.g. actual offset and length after navigation, and scrollbar position should not be altered by this refresh.
Additional information
Support for "memory" events in a debug adapter should only be enabled if a DAP client announces support. See supportsMemoryEvent in InitializeRequestArguments ( https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Initialize ). Hence, we need to also capture the initialize request to find out if we can expect the events to show. We may need a fallback refresh initiated by Memory Inspector operations if that is not the case to preserve a baseline refresh functionality.
The text was updated successfully, but these errors were encountered:
Thanks, @martin-fleck-at ! Yes it does, thanks a lot for adding the support! We need to gather feedback with this now. But I can't think of further enhancements for the time being. Closing this issue.
Description
The Microsoft DAP protocol comes with a "memory" event which can be sent by a debug adapter to indicate an update in memory ranges: https://microsoft.github.io/debug-adapter-protocol/specification#Events_Memory
This can be issued for example if
the Memory Inspector modifies memory. Like with the new apply/store from/to file functionality.
other debugger operations happen that explicitly or implicitly modify memory contents.
The Memory Inspector's debug tracker should look out for such event.
Memory Inspector window instances should be checked if they are affected. If they are, the windows should be refreshed. "Actual" window configurations, e.g. actual
offset
andlength
after navigation, and scrollbar position should not be altered by this refresh.Additional information
Support for "memory" events in a debug adapter should only be enabled if a DAP client announces support. See
supportsMemoryEvent
inInitializeRequestArguments
( https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Initialize ). Hence, we need to also capture theinitialize
request to find out if we can expect the events to show. We may need a fallback refresh initiated by Memory Inspector operations if that is not the case to preserve a baseline refresh functionality.The text was updated successfully, but these errors were encountered: