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: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,18 @@ Launch and attach configuration settings that can be used with the `gdb` debugge
37
37
|`openGdbConsole`| x | x |`boolean`|*(UNIX-only)* Open a GDB console in your IDE while debugging. |
38
38
|`preConnectCommands`| x | x |`string[]`| List of GDB commands sent before attaching to inferior. |
39
39
|`initCommands`| x | x |`string[]`| List of GDB commands sent after attaching to inferior before running/continuing. |
40
+
|`updateThreadInfo`| x | x |`string`| Controls when thread information is retrieved from GDB. See [`updateThreadInfo`](#updatethreadinfo-setting) setting section for details.<br>Supported values: `missing`, `when-requested`, `never`<br>Default: `missing`|
40
41
42
+
#### `updateThreadInfo` Setting
43
+
44
+
The `updateThreadInfo` setting controls when thread information is retrieved from GDB. This setting can be used with both `gdb` and `gdbtarget` debugger types.
45
+
46
+
Supported values:
47
+
<ul>
48
+
<li><code>never</code>: Thread info is never retrieved, no thread names will be displayed. Good for slow links or targets that have no thread names or are single-threaded.</li>
49
+
<li><code>missing</code> (default): Thread info is retrieved when target is stopped or when thread names are missing and GDB allows retrieval while running (when using async mode locally or non-stop mode). Good for targets whose thread names/details don't change.</li>
50
+
<li><code>when-requested</code>: Thread info is retrieved every time the client requests it, as far as possible (when stopped or when GDB allows while running). Good when thread names/details do change.</li>
51
+
</ul>
41
52
42
53
### `gdbtarget` Debugger Type
43
54
@@ -61,6 +72,7 @@ Launch and attach configuration settings that can be used with the `gdbtarget` d
61
72
| `imageAndSymbols` | x | x | `object` | Additional settings for loading images to the target and symbols into the debugger. See section "`imageAndSymbols` object" for details.
62
73
|`target`| x | x |`object`| Additional settings to configure the remote GDB target. See section "`target` object" for details. |
63
74
|`customResetCommands`| x | x |`string[]`| List of GDB commands to perform a RESET of the connected target, for example through `monitor ...` commands of the connected GDB server. |
75
+
|`updateThreadInfo`| x | x |`string`| Controls when thread information is retrieved from GDB. See [`updateThreadInfo`](#updatethreadinfo-setting) setting section for details.<br>Supported values: `missing`, `when-requested`, `never`<br>Default: `missing`|
0 commit comments