mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 284459 - Traditional Memory does not show Memory Change color after the memory changes
When using DSF-GDB, the handleSuspend event is received only when a breakpoint is hit (i.e. not when it's actually suspended), However memory changed events are received when applicable during stepping, however the base code does not call the "archiveDeltas()" for this event. This change adds a call to archiveDeltas if the update mode is set to UPDATE_ALWAYS upon reception of memory change events. TO REPRODUCE this problem: The issue is that only one snap shot of history is applied with the first address / expression search, and this is used for all other comparissions, So you can search for a variable with bigger address value as a first memory search, and then step the code and see that variables close by with smaller address values will be updated but not colored. e.g. &Test -> address 0x110 &X -> address 0x100 if &Test is used as the first memory search, and then the code changes value of &X while stepping the code, the cell holding &X will not be colored as expected. Change-Id: Ibdc1fae6ed73ec2819fe9539d56f9ea9b6302535
This commit is contained in:
parent
9ba50a9462
commit
fd386abe7c
1 changed files with 1 additions and 0 deletions
|
@ -631,6 +631,7 @@ public class Rendering extends Composite implements IDebugEventSetListener
|
|||
{
|
||||
public void run()
|
||||
{
|
||||
archiveDeltas();
|
||||
refresh();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue