Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-05-17 14:01:31 -0400
committerEugene Tarassov2013-05-17 14:01:31 -0400
commit09c03173597d82858ef6c8e7216455195c896b44 (patch)
tree53f471e2d8065bbc5942a581b917d56bee9ca291
parente99304a93992fdd1caf892bd14be2a2a1645badc (diff)
downloadorg.eclipse.tcf-09c03173597d82858ef6c8e7216455195c896b44.tar.gz
org.eclipse.tcf-09c03173597d82858ef6c8e7216455195c896b44.tar.xz
org.eclipse.tcf-09c03173597d82858ef6c8e7216455195c896b44.zip
TCF Debugger: fixed display of breakpoint overlay in the Debug view when the breakpoint has "Resume" action
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java17
1 files changed, 11 insertions, 6 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 415c37ee7..472a2f622 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
@@ -1096,14 +1096,19 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner, ITCFExe
if (!state.validate(done)) return false;
TCFContextState state_data = state.getData();
image_name = ImageCache.IMG_THREAD_UNKNOWN_STATE;
- if (state_data != null && !state_data.is_suspended) {
- if (state_data.isReversing()) {
- image_name = ImageCache.IMG_THREAD_REVERSING;
- label.append(" (Reversing)");
+ if (state_data != null) {
+ if (!state_data.is_suspended) {
+ if (state_data.isReversing()) {
+ image_name = ImageCache.IMG_THREAD_REVERSING;
+ label.append(" (Reversing)");
+ }
+ else {
+ image_name = ImageCache.IMG_THREAD_RUNNNIG;
+ label.append(" (Running)");
+ }
}
else {
- image_name = ImageCache.IMG_THREAD_RUNNNIG;
- label.append(" (Running)");
+ suspended_by_bp = IRunControl.REASON_BREAKPOINT.equals(state_data.suspend_reason);
}
}
if (resume_pending && last_label != null) {

Back to the top