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: lldb/tools/lldb-dap/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,9 @@ file that defines how your program will be run. The JSON configuration file can
36
36
|**terminateCommands** |[string]| | LLDB commands executed when the debugging session ends. Commands and command output will be sent to the debugger console when they are executed.
37
37
|**sourceMap** |[string[2]]| | Specify an array of path re-mappings. Each element in the array must be a two element array containing a source and destination pathname.
38
38
|**debuggerRoot** | string| |Specify a working directory to use when launching lldb-dap. If the debug information in your executable contains relative paths, this option can be used so that `lldb-dap` can find source files and object files that have relative paths.
39
+
|**enableAutoVariableSummaries**|bool| | Enable auto generated summaries for variables when no summaries exist for a given type. This feature can cause performance delays in large projects when viewing variables.
40
+
|**enableDisplayExtendedBacktrace**|bool| | Enable language specific extended backtraces.
41
+
|**enableSyntheticChildDebugging**|bool| | If a variable is displayed using a synthetic children, also display the actual contents of the variable at the end under a [raw] entry. This is useful when creating sythetic child plug-ins as it lets you see the actual contents of the variable.
39
42
40
43
### Attaching Settings
41
44
@@ -62,6 +65,9 @@ The JSON configuration file can contain the following `lldb-dap` specific launch
62
65
|**exitCommands** |[string]| | LLDB commands executed when the program exits. Commands and command output will be sent to the debugger console when they are executed.
63
66
|**terminateCommands** |[string]| | LLDB commands executed when the debugging session ends. Commands and command output will be sent to the debugger console when they are executed.
64
67
|**attachCommands** |[string]| | LLDB commands that will be executed after **preRunCommands** which take place of the code that normally does the attach. The commands can create a new target and attach or launch it however desired. This allows custom launch and attach configurations. Core files can use `target create --core /path/to/core` to attach to core files.
68
+
|**enableAutoVariableSummaries**|bool| | Enable auto generated summaries for variables when no summaries exist for a given type. This feature can cause performance delays in large projects when viewing variables.
69
+
|**enableDisplayExtendedBacktrace**|bool| | Enable language specific extended backtraces.
70
+
|**enableSyntheticChildDebugging**|bool| | If a variable is displayed using a synthetic children, also display the actual contents of the variable at the end under a [raw] entry. This is useful when creating sythetic child plug-ins as it lets you see the actual contents of the variable.
Copy file name to clipboardExpand all lines: lldb/tools/lldb-dap/package.json
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -237,7 +237,12 @@
237
237
},
238
238
"exitCommands": {
239
239
"type": "array",
240
-
"description": "Commands executed at the end of debugging session.",
240
+
"description": "Commands executed when the program exits.",
241
+
"default": []
242
+
},
243
+
"terminateCommands": {
244
+
"type": "array",
245
+
"description": "Commands executed when the debugging session ends.",
241
246
"default": []
242
247
},
243
248
"runInTerminal": {
@@ -254,6 +259,11 @@
254
259
"description": "Enable auto generated summaries for variables when no summaries exist for a given type. This feature can cause performance delays in large projects when viewing variables.",
255
260
"default": false
256
261
},
262
+
"enableDisplayExtendedBacktrace": {
263
+
"type": "boolean",
264
+
"description": "Enable language specific extended backtraces.",
265
+
"default": false
266
+
},
257
267
"enableSyntheticChildDebugging": {
258
268
"type": "boolean",
259
269
"description": "If a variable is displayed using a synthetic children, also display the actual contents of the variable at the end under a [raw] entry. This is useful when creating sythetic child plug-ins as it lets you see the actual contents of the variable.",
@@ -342,7 +352,12 @@
342
352
},
343
353
"exitCommands": {
344
354
"type": "array",
345
-
"description": "Commands executed at the end of debugging session.",
355
+
"description": "Commands executed when the program exits.",
356
+
"default": []
357
+
},
358
+
"terminateCommands": {
359
+
"type": "array",
360
+
"description": "Commands executed when the debugging session ends.",
346
361
"default": []
347
362
},
348
363
"coreFile": {
@@ -369,6 +384,11 @@
369
384
"description": "Enable auto generated summaries for variables when no summaries exist for a given type. This feature can cause performance delays in large projects when viewing variables.",
370
385
"default": false
371
386
},
387
+
"enableDisplayExtendedBacktrace": {
388
+
"type": "boolean",
389
+
"description": "Enable language specific extended backtraces.",
390
+
"default": false
391
+
},
372
392
"enableSyntheticChildDebugging": {
373
393
"type": "boolean",
374
394
"description": "If a variable is displayed using a synthetic children, also display the actual contents of the variable at the end under a [raw] entry. This is useful when creating sythetic child plug-ins as it lets you see the actual contents of the variable.",
0 commit comments