Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2016-07-15 16:39:57 +0000
committerEugene Tarassov2016-07-15 16:39:57 +0000
commitced0e5123359da2737f3e783c7d9be4904101a5a (patch)
treed2c7bdb83d68d5ce286b9d4a365d3acde08d0bc8
parentea81d3d967987af18de649bef39a5b1b977d0ce6 (diff)
downloadorg.eclipse.tcf-ced0e5123359da2737f3e783c7d9be4904101a5a.tar.gz
org.eclipse.tcf-ced0e5123359da2737f3e783c7d9be4904101a5a.tar.xz
org.eclipse.tcf-ced0e5123359da2737f3e783c7d9be4904101a5a.zip
TCF Debugger: fixed incorrect sorting of nodes in the Debug view when some nodes are not visible through the Memory service
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
index 3e7b8f46a..925434938 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
@@ -1741,10 +1741,10 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner, ITCFExe
public int compareTo(TCFNode n) {
if (n instanceof TCFNodeExecContext) {
TCFNodeExecContext f = (TCFNodeExecContext)n;
- if (mem_seq_no < f.mem_seq_no) return -1;
- if (mem_seq_no > f.mem_seq_no) return +1;
if (exe_seq_no < f.exe_seq_no) return -1;
if (exe_seq_no > f.exe_seq_no) return +1;
+ if (mem_seq_no < f.mem_seq_no) return -1;
+ if (mem_seq_no > f.mem_seq_no) return +1;
}
return id.compareTo(n.id);
}

Back to the top