Files
ada_language_server/doc/debug.md
Maxim Reznik 9ec9c95c66 Add testcase for $/cancelRequest
New auxilary request `$/alsDebug` was added to suspend request
execution until message input queue has given number of messages.
2019-09-18 22:28:15 +03:00

715 B

ALS Debug

Short introduction

This request is used to test language server.

Change description

Currently debug request has only one kind:

  • Suspend_Execution - stop processing task until input queue has given number of messages. After getting this request ALS stops message processing, but still accepts new requests/notifications. Once number of input messages reaches given limit, ALS resumes message processing.

New request:

  • Method: $/alsDebug
  • params: AlsDebugParams defined as follows:
interface AlsDebugSuspendExecution {
    inputQueueLength : number;  /* Min input queue length */
}

export type AlsDebugParams = AlsDebugSuspendExecution;

Response:

  • result: null