Table of Contents

Class HostDebugTerminateParams

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

Request for rdcore/host/debug/terminate: ends a program that is running or waits. Its variables stay, as they do when a program is stopped, unless Wipe says they go.

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

Remarks

Handled as it arrives, while the request that runs the program runs (HandledOnArrivalAttribute): a program that is running is stopped at its next instruction, and ended by the request that runs it, which this answers after. A program in a call outside it - a Declare, an object, a dialog - comes to its next instruction when the call returns: the answer waits for that a few seconds at most, and the end asked of the program stands.

The handler of an event that stopped while no program runs (HostDebugStoppedParams) is ended as an End typed at the prompt ends it: it is unwound, and the session is reset.

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

Properties

Wipe

Whether the session is wiped, as an End wipes it, once the program is ended: NEW and LOAD do, a restart does not.

public bool Wipe { get; init; }

Property Value

bool