File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -474,4 +474,6 @@ public class DebugUIMessages extends NLS {
474474
475475 public static String ListSameElementsFor2 ;
476476 public static String fExceptionBreakpointMsg ;
477+
478+ protected static String JavaDebugOptionsManager_Lambda_Breakpoint ;
477479}
Original file line number Diff line number Diff line change @@ -297,6 +297,7 @@ JDIModelPresentation_no_suspended_threads=[toString() unavailable - no suspended
297297
298298JavaDebugOptionsManager_Breakpoint___1 =Breakpoint:
299299JavaDebugOptionsManager_Method_breakpoint___2 =Method breakpoint:
300+ JavaDebugOptionsManager_Lambda_Breakpoint =Lambda Breakpoint:
300301JavaDebugOptionsManager_Watchpoint___3 =Watchpoint:
301302JavaDebugOptionsManager_0 =Initialize Java Debug Options
302303JavaDebugOptionsManager_exceptionRecurrence_dialogTitle =Repeated exception occurrence
Original file line number Diff line number Diff line change 11/*******************************************************************************
2- * Copyright (c) 2000, 2019 IBM Corporation and others.
2+ * Copyright (c) 2000, 2026 IBM Corporation and others.
33 *
44 * This program and the accompanying materials
55 * are made available under the terms of the Eclipse Public License 2.0
@@ -878,7 +878,13 @@ public void run(IProgressMonitor monitor) throws CoreException {
878878 if (breakpoint instanceof IJavaBreakpoint ) {
879879 String info = fLabelProvider .getText (breakpoint );
880880 String type = DebugUIMessages .JavaDebugOptionsManager_Breakpoint___1 ;
881- if (breakpoint instanceof IJavaMethodBreakpoint || breakpoint instanceof IJavaMethodEntryBreakpoint ) {
881+ if (breakpoint instanceof IJavaMethodBreakpoint javaMBp ) {
882+ if (javaMBp .isLambdaBreakpoint ()) {
883+ type = DebugUIMessages .JavaDebugOptionsManager_Lambda_Breakpoint ;
884+ } else {
885+ type = DebugUIMessages .JavaDebugOptionsManager_Method_breakpoint___2 ;
886+ }
887+ } else if (breakpoint instanceof IJavaMethodEntryBreakpoint ) {
882888 type = DebugUIMessages .JavaDebugOptionsManager_Method_breakpoint___2 ;
883889 } else if (breakpoint instanceof IJavaWatchpoint ) {
884890 type = DebugUIMessages .JavaDebugOptionsManager_Watchpoint___3 ;
You can’t perform that action at this time.
0 commit comments