From aa6f36134fcb091b70a06555b1badd6f286107ef Mon Sep 17 00:00:00 2001 From: Liviu Ionescu Date: Tue, 27 Aug 2024 09:28:51 +0300 Subject: [PATCH] #614: fix topToRemove bug --- .../debug/gdbjtag/core/dsf/GnuMcuFinalLaunchSequence.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.eclipse.embedcdt.debug.gdbjtag.core/src/org/eclipse/embedcdt/debug/gdbjtag/core/dsf/GnuMcuFinalLaunchSequence.java b/plugins/org.eclipse.embedcdt.debug.gdbjtag.core/src/org/eclipse/embedcdt/debug/gdbjtag/core/dsf/GnuMcuFinalLaunchSequence.java index a6a770a47..d9d2eda34 100644 --- a/plugins/org.eclipse.embedcdt.debug.gdbjtag.core/src/org/eclipse/embedcdt/debug/gdbjtag/core/dsf/GnuMcuFinalLaunchSequence.java +++ b/plugins/org.eclipse.embedcdt.debug.gdbjtag.core/src/org/eclipse/embedcdt/debug/gdbjtag/core/dsf/GnuMcuFinalLaunchSequence.java @@ -99,7 +99,7 @@ protected String[] getExecutionOrder(String group) { if (GROUP_TOP_LEVEL.equals(group)) { for (int i = 0; i < topToRemove.length; ++i) { - int ix = orderList.indexOf(jtagToRemove[i]); + int ix = orderList.indexOf(topToRemove[i]); if (ix >= 0) { orderList.remove(ix); }