Skip to content

Commit 50b05c5

Browse files
author
automatic-merge
committed
Merge remote branch 'origin/master' into edge
2 parents 349ddd4 + fd2acd5 commit 50b05c5

File tree

873 files changed

+92006
-20868
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

873 files changed

+92006
-20868
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ else
9292
endif
9393

9494
all: coverage-instrument
95+
$(GPRBUILD) -P gnat/lsp_3_17.gpr -p $(COVERAGE_BUILD_FLAGS)
9596
$(GPRBUILD) -P gnat/tester.gpr -p $(BUILD_FLAGS)
9697
$(GPRBUILD) -d -ws -c -u -P gnat/lsp_server.gpr -p $(BUILD_FLAGS) s-memory.adb
9798
$(GPRBUILD) -P gnat/lsp_server.gpr -p $(COVERAGE_BUILD_FLAGS) \
9899
-XVERSION=$(VERSION) -XBUILD_DATE=$(BUILD_DATE)
99100
$(GPRBUILD) -P gnat/codec_test.gpr -p $(COVERAGE_BUILD_FLAGS)
100-
$(GPRBUILD) -P gnat/lsp_client.gpr -p $(COVERAGE_BUILD_FLAGS) \
101-
-XVERSION=$(VERSION)
101+
$(GPRBUILD) -P gnat/lsp_client.gpr -p $(COVERAGE_BUILD_FLAGS)
102102
ifdef NODE
103103
mkdir -p integration/vscode/ada/$(NODE_ARCH)/$(NODE_PLATFORM)
104104
cp -f $(ALS) integration/vscode/ada/$(NODE_ARCH)/$(NODE_PLATFORM)
@@ -137,6 +137,7 @@ endif
137137

138138
clean:
139139
-$(GPRCLEAN) -P gnat/lsp.gpr $(LIBRARY_FLAGS)
140+
-$(GPRCLEAN) -P gnat/lsp_3_17.gpr $(LIBRARY_FLAGS)
140141
-$(GPRCLEAN) -P gnat/lsp_server.gpr $(LIBRARY_FLAGS)
141142
-$(GPRCLEAN) -P gnat/tester.gpr $(LIBRARY_FLAGS)
142143
-$(GPRCLEAN) -P gnat/codec_test.gpr $(LIBRARY_FLAGS)
@@ -165,7 +166,7 @@ check: all
165166
set -e; \
166167
export PYTHON=$(PYTHON); \
167168
if [ `$(PYTHON) -c "import sys;print('e3' in sys.modules)"` = "True" ]; then\
168-
(cd testsuite ; sh run.sh ) ; \
169+
(cd testsuite ; sh run.sh $(test)) ; \
169170
else \
170171
for a in testsuite/*_lsp/*/*.json; do \
171172
echo $$a ; \

doc/debug.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,19 @@
22

33
## Short introduction
44

5-
This request is used to test language server.
5+
This command `als-suspend-execution` is used to test language server.
66

77
## Change description
88

9-
Currently debug request has only one kind:
9+
Currently `als-suspend-execution` debug command has only one argument:
1010

11-
* Suspend_Execution - stop processing task until input queue has given
11+
* inputQueueLength - integer
12+
13+
On execution it stops processing task until input queue has given
1214
number of messages. After getting this request ALS stops message
1315
processing, but still accepts new requests/notifications. Once
1416
number of input messages reaches given limit, ALS resumes message
1517
processing.
1618

17-
New request:
18-
* Method: `$/alsDebug`
19-
* params: `AlsDebugParams` defined as follows:
20-
21-
```typescript
22-
interface AlsDebugSuspendExecution {
23-
inputQueueLength : number; /* Min input queue length */
24-
}
25-
26-
export type AlsDebugParams = AlsDebugSuspendExecution;
27-
28-
```
29-
3019
Response:
3120
* result: `null`

0 commit comments

Comments
 (0)