Merge remote-tracking branch 'origin/GP-4527_d-millar_traceRMI_dialog_improv'

This commit is contained in:
Ryan Kurtz
2024-04-19 08:41:18 -04:00
4 changed files with 34 additions and 9 deletions

View File

@@ -135,7 +135,8 @@ public class DebuggerMethodActionsPlugin extends Plugin implements PopupActionPr
List<DockingActionIf> result = new ArrayList<>();
for (ActionEntry entry : target.collectActions(null, context).values()) {
if (entry.requiresPrompt() || entry.builtIn()) {
//if (entry.requiresPrompt() || entry.builtIn()) {
if (!entry.isEnabled() || entry.builtIn()) {
continue;
}
result.add(new InvokeActionEntryAction(entry));

View File

@@ -166,7 +166,7 @@ public class TargetActionTask extends Task {
@Override
public void run(TaskMonitor monitor) throws CancelledException {
try {
entry.run(false);
entry.run(entry.requiresPrompt());
}
catch (Throwable e) {
reportError(e);