Skip to content

Commit

Permalink
GP-4237: Fix breakpoint icon update in Model. Fix margin state from
Browse files Browse the repository at this point in the history
loc&spec
  • Loading branch information
nsadeveloper789 committed Apr 2, 2024
1 parent 5bf2f6b commit 7f38196
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,7 @@ protected void refresh() {
for (AbstractNode node : nodeCache.byObject.values()) {
node.fireNodeChanged();
}
root.fireNodeChanged();
}

protected void reload() {
Expand All @@ -779,8 +780,10 @@ protected void reloadSameTrace() {
try (LockHold hold = trace == null ? null : trace.lockRead()) {
for (AbstractNode node : List.copyOf(nodeCache.byObject.values())) {
node.reloadChildrenNow();
node.fireNodeChanged();
}
root.reloadChildrenNow();
root.fireNodeChanged();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public boolean isEnabled(long snap) {
Boolean locEn = TraceObjectInterfaceUtils.getValue(object, snap,
TargetBreakpointSpec.ENABLED_ATTRIBUTE_NAME, Boolean.class, null);
if (locEn != null) {
return locEn;
return locEn && getSpecification().isEnabled(snap);
}
return getSpecification().isEnabled(snap);
}
Expand Down

0 comments on commit 7f38196

Please sign in to comment.