You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage/Debugging.md
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ To support the debugging function, a DAP server will run on the UniVerse server
12
12
13
13
### Downloading DAP Server
14
14
15
-
You must login to [RBC platform](https://rbc.rocketsoftware.com/) to download DAP server binaries. Through below steps to download related binaries:
15
+
You must login to [RBC platform](https://rbc.rocketsoftware.com/) to download DAP server binaries. Follow below steps to download related binaries:
16
16
17
17
1) Click button "Search Product Availability"
18
18
@@ -98,6 +98,33 @@ Select the **MVBasic Debug** from the Select environment dialog box.
98
98
99
99

100
100
101
+
Then a default debugging configuration file launch.json will be generated in directory .vscode.
102
+
103
+
```
104
+
{
105
+
"version": "0.2.0",
106
+
"configurations": [
107
+
{
108
+
"type": "mvbasic",
109
+
"request": "launch",
110
+
"name": "Launch Program",
111
+
"program": "",
112
+
"stopOnEntry": true,
113
+
"preLaunchTask": "BASIC: Build",
114
+
"dependencies": []
115
+
}
116
+
]
117
+
}
118
+
```
119
+
120
+
- "type": "mvbasic" is required to build BASIC program files.
121
+
- "request": keep this value "launch" to launch a program.
122
+
- "name": this is the name of the launch task. You can change the name to other values.
123
+
- "program": if this value is empty, current focused file will be debugged. You can also set this value to another BASIC program file's absolute path. This file will be compiled before debugging.
124
+
- "stopOnEntry": used to control whether the program will be stopped at the first runnable line when start debugging. Currently only true is supported.
125
+
- "preLanuchTask": this is used to run pre-required task before debugging. In our extension, we use this setting to compile the BASIC program in setting "program" first.
126
+
- "depenedncies": put other BASIC program files here if they need to be compiled before debugging.
127
+
101
128
From the **Run and Debug** view, set the launch option to **Launch Program**. Then press the F5 button to start debugging.
0 commit comments