Table of Contents

Class SessionDebugErrorBreakParams

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.Protocol.dll

Request for rdcore/session/debug/errorBreak: sets which run-time errors a program under a debugger (Debug) waits at, where they are raised; answered a DebugAck.

public record SessionDebugErrorBreakParams : IEquatable<SessionDebugErrorBreakParams>
Inheritance
SessionDebugErrorBreakParams
Implements
Derived
Inherited Members

Remarks

The mode is the runtime session's: it applies to every later run under a debugger, and to the program that runs when it is set, until it is set again. A program that waits at an error is answered Suspended, as at a Stop, with the error in ErrorNumber, ErrorMessage and ErrorLine. Resumed, it runs the statement that raised the error again, which raises it again unless what raised it was changed. A run that is not under a debugger never waits at an error.

Properties

Mode

Which errors the program waits at. None, the mode of a session nothing has set it in, waits at none.

public ErrorBreakMode Mode { get; init; }

Property Value

ErrorBreakMode