mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Bug 100261: Memory veiw: Renderings content disappears when click on Vairable/Module... view.
This commit is contained in:
parent
19721c7ad7
commit
b53dbe706e
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-06-17 Mikhail Khodjaiants
|
||||||
|
Bug 100261: Memory veiw: Renderings content disappears when click on Vairable/Module... view.
|
||||||
|
* CDebugElement.java
|
||||||
|
|
||||||
2005-06-16 Mikhail Khodjaiants
|
2005-06-16 Mikhail Khodjaiants
|
||||||
Bug 100471: Signed/Unsigned Integer renderings show '?' for valid memory blocks.
|
Bug 100471: Signed/Unsigned Integer renderings show '?' for valid memory blocks.
|
||||||
* CMemoryBlockExtension.java
|
* CMemoryBlockExtension.java
|
||||||
|
|
|
@ -31,6 +31,7 @@ import org.eclipse.debug.core.DebugPlugin;
|
||||||
import org.eclipse.debug.core.ILaunch;
|
import org.eclipse.debug.core.ILaunch;
|
||||||
import org.eclipse.debug.core.model.IDebugElement;
|
import org.eclipse.debug.core.model.IDebugElement;
|
||||||
import org.eclipse.debug.core.model.IDebugTarget;
|
import org.eclipse.debug.core.model.IDebugTarget;
|
||||||
|
import org.eclipse.debug.core.model.IMemoryBlockRetrieval;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The super class of all C/C++ debug model elements.
|
* The super class of all C/C++ debug model elements.
|
||||||
|
@ -301,6 +302,9 @@ abstract public class CDebugElement extends PlatformObject implements ICDebugEle
|
||||||
return getCDISession();
|
return getCDISession();
|
||||||
if ( adapter.equals( ICDebugTarget.class ) )
|
if ( adapter.equals( ICDebugTarget.class ) )
|
||||||
return getDebugTarget();
|
return getDebugTarget();
|
||||||
|
// See bug #100261
|
||||||
|
if ( adapter.equals( IMemoryBlockRetrieval.class ) )
|
||||||
|
return getDebugTarget().getAdapter( adapter );
|
||||||
return super.getAdapter( adapter );
|
return super.getAdapter( adapter );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue