mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 491417: fix occasional "..." updates in disassembly
When a viewportChanged event and a setActive event arrived at the same following a debug context change the two event handlers would cancel each other out. Change-Id: I07a8d0ff46e4ea4f4ab682a5311650fca021d75b Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
This commit is contained in:
parent
d36b9dcdd1
commit
0265ee09a7
1 changed files with 2 additions and 1 deletions
|
@ -1495,7 +1495,8 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void viewportChanged(int verticalOffset) {
|
public void viewportChanged(int verticalOffset) {
|
||||||
if (fDebugSessionId != null && fGotoAddressPending == PC_UNKNOWN && fScrollPos == null && !fUpdatePending && !fRefreshViewPending) {
|
if (fDebugSessionId != null && fGotoAddressPending == PC_UNKNOWN && fScrollPos == null && !fUpdatePending && !fRefreshViewPending
|
||||||
|
&& fFocusAddress != PC_UNKNOWN) {
|
||||||
fUpdatePending = true;
|
fUpdatePending = true;
|
||||||
final int updateCount = fUpdateCount;
|
final int updateCount = fUpdateCount;
|
||||||
invokeLater(new Runnable() {
|
invokeLater(new Runnable() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue