Class HostDebugGotoParams
Request for rdcore/host/debug/goto: moves the program counter of the activation the program waits in (Set Next Statement), so that it goes on from
there when it is resumed and not from where it stopped. Nothing runs.
[Method("rdcore/host/debug/goto", Direction.ClientToServer)]
public record HostDebugGotoParams : IRequest, IRequest<Unit>, IRequest<HostDebugGotoResult>, IBaseRequest, IEquatable<HostDebugGotoParams>
- Inheritance
-
HostDebugGotoParams
- Implements
-
IRequestIRequest<Unit>IRequest<HostDebugGotoResult>IBaseRequest
- Inherited Members
Remarks
A program does not always go on from exactly where it stopped: the person looking at it may move the point of execution, or the statement it was to run next may be one nobody wants run. The target is within the procedure the program waits in, which is the one whose code is in front of whoever asks - a line is a line of that procedure as it was when the program stopped. Anything else is Moved false, and the program still waits where it was.
Moving into or out of a block statement is moving as GoTo does: the state a block keeps (a With object, a For counter) is the state it had.
Properties
Label
A statement label or line number of the procedure to go on from (100, Retry), as a shell that numbers its lines says it. Takes the place of
Line.
public string? Label { get; init; }
Property Value
Line
The zero-based line of the source to go on from: the first statement that begins on it, or after it. Ignored when Label is given.
public int Line { get; init; }