You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/InitializeRequestHandler.java
+17-14Lines changed: 17 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -71,21 +71,24 @@ public CompletableFuture<Messages.Response> handle(Requests.Command command, Req
71
71
72
72
// Add breakpoint modes for suspend behavior
73
73
Types.BreakpointMode[] breakpointModes = {
74
+
newTypes.BreakpointMode(
75
+
Constants.SUSPEND_THREAD,
76
+
"Suspend Thread",
77
+
"Suspends only the thread that hit the breakpoint",
78
+
newTypes.BreakpointModeApplicability[] {
79
+
Types.BreakpointModeApplicability.SOURCE
80
+
// data and function breakpoints are not supported by VS Code
81
+
// instruction breakpoints are not supported by this adapter
82
+
}
83
+
),
74
84
newTypes.BreakpointMode(
75
-
Constants.SUSPEND_THREAD,
76
-
"Suspend Thread",
77
-
"Suspends only the thread that hit the breakpoint",
78
-
newTypes.BreakpointModeApplicability[] {
79
-
Types.BreakpointModeApplicability.SOURCE
80
-
// data and function breakpoints are not supported by VS Code
81
-
// instruction breakpoints are not supported by this adapter
82
-
}),
83
-
newTypes.BreakpointMode(
84
-
Constants.SUSPEND_VM,
85
-
"Suspend VM",
86
-
"Suspends the entire virtual machine when breakpoint is hit",
87
-
newTypes.BreakpointModeApplicability[] {
88
-
Types.BreakpointModeApplicability.SOURCE })
85
+
Constants.SUSPEND_VM,
86
+
"Suspend VM",
87
+
"Suspends the entire virtual machine when breakpoint is hit",
0 commit comments