[debugger] simplify instantiation of Java exception breakpoint

GitOrigin-RevId: c1aa7e80470640041817cfb7500ab2ac61f5305a
This commit is contained in:
Vladimir Parfinenko
2024-09-05 12:36:41 +02:00
committed by intellij-monorepo-bot
parent 62ecf44804
commit 3cc1a51027
5 changed files with 25 additions and 7 deletions

View File

@@ -430,7 +430,7 @@ public abstract class ExecutionWithDebuggerToolsTestCase extends ExecutionTestCa
}
case "Exception" -> {
String exceptionClassName = Objects.requireNonNull(comment.readKindValue());
breakpoint = breakpointManager.addExceptionBreakpoint(exceptionClassName, "");
breakpoint = breakpointManager.addExceptionBreakpoint(exceptionClassName);
if (breakpoint == null) break;
systemPrintln("ExceptionBreakpoint created at " + breakpointLocation);
String catchClassFiltersStr = comment.readValue("Catch class filters");