Table of Contents

Class HostDebugErrorBreakParams

Namespace
RDCore.SDK.Platform.Components
Assembly
RDCore.SDK.dll

Request for rdcore/host/debug/errorBreak: says which run-time errors a program under a debugger waits at, where they are raised - before any handler has caught them or anything has been unwound.

[Method("rdcore/host/debug/errorBreak", Direction.ClientToServer)]
public record HostDebugErrorBreakParams : IRequest, IRequest<Unit>, IRequest<DebugAck>, IBaseRequest, IEquatable<HostDebugErrorBreakParams>
Inheritance
HostDebugErrorBreakParams
Implements
IRequest
IRequest<Unit>
IRequest<DebugAck>
IBaseRequest
Inherited Members

Remarks

A program that waits at an error is answered as one that waits at a Stop (Suspended), with the error in ErrorNumber, ErrorMessage, ErrorCode and ErrorTitle. Resumed, it deals with the error as it would have.

Handled as it arrives, while a request that runs a program runs (HandledOnArrivalAttribute): the next error raised is weighed by it.

Part of the component protocol (RDCoreComponentProtocol), outside the SDK's compatibility promise.

Properties

Mode

Which errors the program waits at. It is the session's, and it stays until it is said otherwise.

public ErrorBreakMode Mode { get; init; }

Property Value

ErrorBreakMode