Class SessionDebugPauseParams
Request for rdcore/session/debug/pause: stops the program that is running, at the next instruction, so that it waits there. The request that is running the
program answers Suspended. The language-server side of HostDebugPauseParams.
[Method("rdcore/session/debug/pause", Direction.ClientToServer)]
public record SessionDebugPauseParams : IRequest, IRequest<Unit>, IRequest<HostDebugAck>, IBaseRequest, IEquatable<SessionDebugPauseParams>
- Inheritance
-
SessionDebugPauseParams
- Implements
-
IRequestIRequest<Unit>IRequest<HostDebugAck>IBaseRequest
- Inherited Members
Remarks
This, and not cancelling the request that runs the program, is what a break at the keyboard is for a program under a debugger: a cancelled request has no answer to read the place the program stopped at from.