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
{{ message }}
Repository navigation
Commit b3e14c0
Browse filesBrowse the repository at this point in the historyBrowse files
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-20Lines changed: 17 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -68,30 +68,27 @@ public CompletableFuture<Messages.Response> handle(Requests.Command command, Req
68
68
caps.supportsClipboardContext = true;
69
69
caps.supportsBreakpointLocationsRequest = true;
70
70
caps.supportsStepInTargetsRequest = true;
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
-
),
84
-
newTypes.BreakpointMode(
85
-
Constants.SUSPEND_VM,
86
-
"Suspend VM",
87
-
"Suspends the entire virtual machine when breakpoint is hit",
88
-
newTypes.BreakpointModeApplicability[] {
89
-
Types.BreakpointModeApplicability.SOURCE }
90
-
)
91
-
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
+
newTypes.BreakpointMode(
84
+
Constants.SUSPEND_VM,
85
+
"Suspend VM",
86
+
"Suspends the entire virtual machine when breakpoint is hit",
Copy file name to clipboardExpand all lines: com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/SetExceptionBreakpointsRequestHandler.java
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,8 @@ public synchronized CompletableFuture<Response> handle(Command command, Argument
Copy file name to clipboardExpand all lines: com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/protocol/Requests.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -262,7 +262,8 @@ public static class SetExceptionBreakpointsArguments extends Arguments {
262
262
publicExceptionFilterOptions[] filterOptions;
263
263
264
264
/**
265
-
* Configuration options for selected exceptions. The attribute is only honored by a debug adapter if the corresponding capability `supportsExceptionOptions` is true.
265
+
* Configuration options for selected exceptions. The attribute is only honored by a debug adapter
266
+
* if the corresponding capability `supportsExceptionOptions` is true.
0 commit comments