1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

gotoAddress thread

This commit is contained in:
Ted Williams 2007-08-27 20:26:04 +00:00
parent 9a9012d4ad
commit b8f2b0eb09

View file

@ -326,7 +326,7 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
super.deactivated(); super.deactivated();
} }
public void gotoAddress(BigInteger address) public void gotoAddress(final BigInteger address)
{ {
this.fRendering.gotoAddress(address); this.fRendering.gotoAddress(address);
} }
@ -982,8 +982,13 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
} }
} }
public void goToAddress(BigInteger address) throws DebugException { public void goToAddress(final BigInteger address) throws DebugException {
fRendering.gotoAddress(address); Display.getDefault().asyncExec(new Runnable(){
public void run()
{
fRendering.gotoAddress(address);
}
});
} }
protected void bytesAreLittleEndian(boolean areLE) protected void bytesAreLittleEndian(boolean areLE)