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
/// Information about a breakpoint created in `setBreakpoints`, `setFunctionBreakpoints`, `setInstructionBreakpoints`, or `setDataBreakpoints` requests.
325
+
/// Information about a breakpoint created in `setBreakpoints`,
326
+
/// `setFunctionBreakpoints`, `setInstructionBreakpoints`, or
327
+
/// `setDataBreakpoints` requests.
326
328
structBreakpoint {
327
329
/// A machine-readable explanation of why a breakpoint may not be verified.
328
330
enumclassReason : unsigned {
@@ -343,8 +345,8 @@ struct Breakpoint {
343
345
bool verified;
344
346
345
347
/// A message about the state of the breakpoint.
346
-
/// This is shown to the user and can be used to explain why a breakpoint could
347
-
/// not be verified.
348
+
/// This is shown to the user and can be used to explain why a breakpoint
349
+
/// could not be verified.
348
350
std::optional<std::string> message;
349
351
350
352
/// The source where the breakpoint is located.
@@ -362,18 +364,17 @@ struct Breakpoint {
362
364
std::optional<uint32_t> endLine;
363
365
364
366
/// End position of the source range covered by the breakpoint. It is measured
365
-
/// in UTF-16 code units and the client capability `columnsStartAt1` determines
366
-
/// whether it is 0- or 1-based.
367
-
/// If no end line is given, then the end column is assumed to be in the start
368
-
/// line.
367
+
/// in UTF-16 code units and the client capability `columnsStartAt1`
368
+
/// determines whether it is 0- or 1-based. If no end line is given, then the
369
+
/// end column is assumed to be in the start line.
369
370
std::optional<uint32_t> endColumn;
370
371
371
372
/// A memory reference to where the breakpoint is set.
372
373
std::optional<std::string> instructionReference;
373
374
374
375
/// The offset from the instruction reference.
375
376
/// This can be negative.
376
-
std::optional<int64_t> offset;
377
+
std::optional<int32_t> offset;
377
378
378
379
/// A machine-readable explanation of why a breakpoint may not be verified. If
379
380
/// a breakpoint is verified or a specific reason is not known, the adapter
@@ -382,7 +383,8 @@ struct Breakpoint {
382
383
};
383
384
llvm::json::Value toJSON(const Breakpoint &);
384
385
385
-
/// Properties of a breakpoint or logpoint passed to the `setBreakpoints` request
386
+
/// Properties of a breakpoint or logpoint passed to the `setBreakpoints`
387
+
/// request
386
388
structSourceBreakpoint {
387
389
/// The source line of the breakpoint or logpoint.
388
390
uint32_t line;
@@ -419,8 +421,7 @@ struct SourceBreakpoint {
419
421
/// `breakpointModes` the debug adapter advertised in its `Capabilities`.
0 commit comments