Skip to content
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

Allow periodic refresh, for example for architectures that allow debug memory access while CPU is running #91

Open
Tracked by #49
martin-fleck-at opened this issue Mar 5, 2024 · 0 comments · May be fixed by #115
Assignees

Comments

@martin-fleck-at
Copy link
Contributor

martin-fleck-at commented Mar 5, 2024

It would be great to have an additional setting in the memory inspector for automatically refreshing every n milliseconds.
(pulled out from #49)

@martin-fleck-at martin-fleck-at self-assigned this Mar 5, 2024
martin-fleck-at added a commit to eclipsesource/vscode-memory-inspector that referenced this issue Mar 22, 2024
- Add two properties and settings for auto-refresh
-- Enablement: To easily enable/disable auto-refresh (default: false)
-- Refresh Rate: Number of milliseconds after the last auto-refresh
--- Minimum: 500ms, default step size: 250ms, default: null (disabled)

Minor:
- Add entry point to memory inspector from C/C++ file for easy access

Fixes eclipse-cdt-cloud#91
martin-fleck-at added a commit to eclipsesource/vscode-memory-inspector that referenced this issue Mar 22, 2024
- Add two properties and settings for auto-refresh
-- Enablement: To easily enable/disable auto-refresh (default: false)
-- Refresh Rate: Number of milliseconds after the last auto-refresh
--- Minimum: 500ms, default step size: 250ms, default: null (disabled)

Minor:
- Add entry point to memory inspector from C/C++ file for easy access

Fixes eclipse-cdt-cloud#91
martin-fleck-at added a commit to eclipsesource/vscode-memory-inspector that referenced this issue Mar 22, 2024
- Add two properties and settings for auto-refresh
-- Enablement: To easily enable/disable auto-refresh (default: false)
-- Refresh Rate: Number of milliseconds after the last auto-refresh
--- Minimum: 500ms, default step size: 250ms, default: null (disabled)

Minor:
- Add entry point to memory inspector from C/C++ file for easy access

Fixes eclipse-cdt-cloud#91
martin-fleck-at added a commit to eclipsesource/vscode-memory-inspector that referenced this issue Mar 26, 2024
- Rework 'refreshOnStop' boolean setting to 'autoRefresh' enumerable
-- On Stop (previously: 'on' for 'refreshOnStop'
-- On Focus (previously: always implicit on view state change)
-- After Delay (new)
-- Off (previously: 'off' for 'refreshOnStop')

- On Stop
-- Rework global setting to be local for each Memory Inspector
-- Listen to debug session stopped event and propagate to view

- On Focus
-- Rework implicit refresh update to option in setting
-- Listen to view state changes and propagate to view

- After Delay
-- New option to explicitly define a delay when re-fetching the memory
-- Minimum: 500ms, default: 500, input step size: 250ms

Refactoring:
- Split debug session tracking into dedicated class with session events
-- Convert debug events into session events with additional data
- Split context tracking from memory provider into dedicated class
- Move manifest to common for default values and avoid duplication
-- Align 'Min' with 'Minimal' value from manifest

Minor:
- Add title toolbar item for C/C++ file to access open memory inspector
- Improve debugging experience by using inline source maps
- Align creation of option enums to use const objects
- Additionally guard 'body' on debug responses for safety
- Avoid functional React state update where unnecessary

Fixes eclipse-cdt-cloud#91
martin-fleck-at added a commit to eclipsesource/vscode-memory-inspector that referenced this issue Mar 27, 2024
- Rework 'refreshOnStop' boolean setting to 'autoRefresh' enumerable
-- On Stop (previously: 'on' for 'refreshOnStop'
-- On Focus (previously: always implicit on view state change)
-- After Delay (new)
-- Off (previously: 'off' for 'refreshOnStop')

- On Stop
-- Rework global setting to be local for each Memory Inspector
-- Listen to debug session stopped event and propagate to view

- On Focus
-- Rework implicit refresh update to option in setting
-- Listen to view state changes and propagate to view

- After Delay
-- New option to explicitly define a delay when re-fetching the memory
-- Minimum: 500ms, default: 500, input step size: 250ms

Refactoring:
- Split debug session tracking into dedicated class with session events
-- Convert debug events into session events with additional data
- Split context tracking from memory provider into dedicated class
- Move manifest to common for default values and avoid duplication
-- Align 'Min' with 'Minimal' value from manifest

Minor:
- Add title toolbar item for C/C++ file to access open memory inspector
- Improve debugging experience by using inline source maps
- Align creation of option enums to use const objects
- Additionally guard 'body' on debug responses for safety
- Avoid functional React state update where unnecessary

Fixes eclipse-cdt-cloud#91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant