Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,6 @@ public class DebugUIMessages extends NLS {

public static String ListSameElementsFor2;
public static String fExceptionBreakpointMsg;

protected static String JavaDebugOptionsManager_Lambda_Breakpoint;
}
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ JDIModelPresentation_no_suspended_threads=[toString() unavailable - no suspended

JavaDebugOptionsManager_Breakpoint___1=Breakpoint:
JavaDebugOptionsManager_Method_breakpoint___2=Method breakpoint:
JavaDebugOptionsManager_Lambda_Breakpoint=Lambda Breakpoint:
JavaDebugOptionsManager_Watchpoint___3=Watchpoint:
JavaDebugOptionsManager_0=Initialize Java Debug Options
JavaDebugOptionsManager_exceptionRecurrence_dialogTitle=Repeated exception occurrence
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2019 IBM Corporation and others.
* Copyright (c) 2000, 2026 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -878,7 +878,13 @@ public void run(IProgressMonitor monitor) throws CoreException {
if (breakpoint instanceof IJavaBreakpoint) {
String info = fLabelProvider.getText(breakpoint);
String type = DebugUIMessages.JavaDebugOptionsManager_Breakpoint___1;
if (breakpoint instanceof IJavaMethodBreakpoint || breakpoint instanceof IJavaMethodEntryBreakpoint) {
if (breakpoint instanceof IJavaMethodBreakpoint javaMBp) {
if (javaMBp.isLambdaBreakpoint()) {
type = DebugUIMessages.JavaDebugOptionsManager_Lambda_Breakpoint;
} else {
type = DebugUIMessages.JavaDebugOptionsManager_Method_breakpoint___2;
}
} else if (breakpoint instanceof IJavaMethodEntryBreakpoint) {
type = DebugUIMessages.JavaDebugOptionsManager_Method_breakpoint___2;
} else if (breakpoint instanceof IJavaWatchpoint) {
type = DebugUIMessages.JavaDebugOptionsManager_Watchpoint___3;
Expand Down
Loading