Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316858

Summary: Specify range to monitor for Memory view
Product: [Tools] CDT Reporter: Samuel Hultgren <taortan>
Component: cdt-memoryAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: pawel.1.piech
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Samuel Hultgren CLA 2010-06-15 03:41:10 EDT
Build Identifier: 20100218-1602

It would be nice to be able to specify exact ranges in the monitor expression for the memory viewer.

If a range is specified, the table rendering mode should be switched to 'manual' mode for this monitor. (so it doesn't read anything else except for what the user wants).

Examples:
Say that the user is using table rendering mode automatic.
1. User adds monitor for expression '0x4000'. This should lead to automatic rendering mode still being used for this monitor
2. User adds monitor for expression '0x4000-0x5000'. This should lead to manual rendering mode being used for this monitor, and read the entire 0x1000 range, regardless of what line number is specified at the manual rendering preferences.

The ranges could maybe be added in a few ways, 
explicit ranges, '0x4000-0x5000'     // reads 0x1000 bytes, starting at 0x4000
offset based ranges, '0x4000/0x1000' // reads 0x1000 bytes, starting at 0x4000


Reproducible: Always