Skip to content

Commit b1274d3

Browse files
authored
Merge pull request #2749 from Microsoft/seanmcm/0_20_1_release
Seanmcm/0 20 1 release
2 parents 0cf237c + 8f8565d commit b1274d3

File tree

6 files changed

+38
-30
lines changed

6 files changed

+38
-30
lines changed

Code Samples/Fib/.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"taskName": "build",
7+
"label": "build",
88
"type": "shell",
99
"group": {
1010
"kind": "build",
@@ -47,4 +47,4 @@
4747
}
4848
}
4949
]
50-
}
50+
}

Extension/CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# C/C++ for Visual Studio Code Change Log
22

3-
## Version 0.20.0: October 29, 2018
3+
## Version 0.20.1: October 31, 2018
4+
* Fix IntelliSense-based `Go to Declaration` when there's only a definition in a TU. [#2743](https://github.com/Microsoft/vscode-cpptools/issues/2743)
5+
* Fix `#include` completion for standalone header files. [#2744](https://github.com/Microsoft/vscode-cpptools/issues/2744)
6+
* Fix the highest hitting main process crash.
7+
* Fix IntelliSense process crash with completion.
8+
9+
## Version 0.20.0: October 30, 2018
410
* Add IntegratedTerminal support for Linux and Windows. [#35](https://github.com/microsoft/vscode-cpptools/issues/35)
511
* Unify Visual Studio Code debug protocol parsing by using a shared library with Visual Studio.
612
* Fix IntelliSense-based `Go to Definition` on overloads (in the same TU). [#1071](https://github.com/Microsoft/vscode-cpptools/issues/1071)
@@ -73,7 +79,7 @@
7379
* Fix IntelliSense crash when the gcc-8 type_traits header is used. [#2323](https://github.com/Microsoft/vscode-cpptools/issues/2323), [#2328](https://github.com/Microsoft/vscode-cpptools/issues/2328)
7480
* Limit configuration popups to one at a time. [#2324](https://github.com/Microsoft/vscode-cpptools/issues/2324)
7581
* Don't show `includePath` code actions if compile commands or custom configuration providers are used. [#2334](https://github.com/Microsoft/vscode-cpptools/issues/2334)
76-
* Fix `Cpp.clang_format_path` not accepting environment variables. [#2344](https://github.com/Microsoft/vscode-cpptools/issues/2344)
82+
* Fix `C_Cpp.clang_format_path` not accepting environment variables. [#2344](https://github.com/Microsoft/vscode-cpptools/issues/2344)
7783
* Fix IntelliSense not working with non-ASCII characters in the WSL install path. [#2351](https://github.com/Microsoft/vscode-cpptools/issues/2351)
7884
* Filter out buggy IntelliSense error `"= delete" can only appear on the first declaration of a function`. [#2352](https://github.com/Microsoft/vscode-cpptools/issues/2352)
7985
* Fix IntelliSense failing with WSL if gcc is installed bug g++ isn't. [#2360](https://github.com/Microsoft/vscode-cpptools/issues/2360)

Extension/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Extension/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cpptools",
33
"displayName": "C/C++",
44
"description": "C/C++ IntelliSense, debugging, and code browsing.",
5-
"version": "0.20.0",
5+
"version": "0.20.1",
66
"publisher": "ms-vscode",
77
"preview": true,
88
"icon": "LanguageCCPP_color_128x.png",
@@ -1411,14 +1411,14 @@
14111411
"vscode-cpptools": "2.1.1",
14121412
"vscode-debugadapter": "~1.24.0",
14131413
"vscode-debugprotocol": "~1.24.0",
1414-
"vscode-extension-telemetry": "~0.1.0",
1414+
"vscode-extension-telemetry": "~0.0.22",
14151415
"vscode-languageclient": "3.5.1",
14161416
"yauzl": "~2.8.0"
14171417
},
14181418
"runtimeDependencies": [
14191419
{
14201420
"description": "C/C++ language components (Linux / x86_64)",
1421-
"url": "https://go.microsoft.com/fwlink/?linkid=2026727",
1421+
"url": "https://go.microsoft.com/fwlink/?linkid=2036673",
14221422
"platforms": [
14231423
"linux"
14241424
],
@@ -1432,7 +1432,7 @@
14321432
},
14331433
{
14341434
"description": "C/C++ language components (Linux / x86)",
1435-
"url": "https://go.microsoft.com/fwlink/?linkid=2026568",
1435+
"url": "https://go.microsoft.com/fwlink/?linkid=2036672",
14361436
"platforms": [
14371437
"linux"
14381438
],
@@ -1448,7 +1448,7 @@
14481448
},
14491449
{
14501450
"description": "C/C++ language components (OS X)",
1451-
"url": "https://go.microsoft.com/fwlink/?linkid=2026569",
1451+
"url": "https://go.microsoft.com/fwlink/?linkid=2036674",
14521452
"platforms": [
14531453
"darwin"
14541454
],
@@ -1459,7 +1459,7 @@
14591459
},
14601460
{
14611461
"description": "C/C++ language components (Windows)",
1462-
"url": "https://go.microsoft.com/fwlink/?linkid=2026728",
1462+
"url": "https://go.microsoft.com/fwlink/?linkid=2036671",
14631463
"platforms": [
14641464
"win32"
14651465
],

Extension/src/LanguageServer/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,8 @@ function handleCrashFileRead(err: NodeJS.ErrnoException, data: string): void {
661661
endCrash = data.length - 1;
662662
}
663663
data = data.substr(startCrash, endCrash - startCrash);
664-
if (data.length > 16384) {
665-
data = data.substr(0, 16384) + "...";
664+
if (data.length > 8192) { // The API has an 8k limit.
665+
data = data.substr(0, 8189) + "...";
666666
}
667667
if (data.length < 2) {
668668
return; // Don't send telemetry if there's no call stack.

launch.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,29 @@
22

33
The **launch.json** file is used to configure the debugger in Visual Studio Code.
44

5-
Visual Studio Code generates a **launch.json** with almost all of the required information. To get started
5+
Visual Studio Code generates a **launch.json** with almost all of the required information. To get started
66
debugging you need to fill in the `program` field with the path to the executable you plan to debug. This must be specified for
77
both the launch and attach (if you plan to attach to a running instance at any point) configurations.
88

9-
The generated file contains two sections. One that configures debugging for launch and a second that configures debugging for attach.
9+
The generated file contains two sections. One that configures debugging for launch and a second that configures debugging for attach.
1010

1111
# Configure VS Code's debugging behavior
1212

13-
Set or change the following options to control VS Code's behavior during debugging
13+
Set or change the following options to control VS Code's behavior during debugging:
1414

1515
* #### `program` (required)
1616
Specifies the full path to executable the debugger will launch or attach to.
1717

1818
* #### `symbolSearchPath`
19-
Tells the _Visual Studio Windows Debugger_ what paths to search for symbol (.pdb) files. Separate multiple paths with a semicolon. Example `"C:\\Symbols;C:\\SymbolDir2"`
19+
Tells the _Visual Studio Windows Debugger_ what paths to search for symbol (.pdb) files. Separate multiple paths with a semicolon. Example `"C:\\Symbols;C:\\SymbolDir2"`.
2020

2121
* #### `additionalSOLibSearchPath`
2222
Tells _GDB or LLDB_ what paths to search for .so files. Separate multiple paths with a semicolon. Example: `"/Users/user/dir1;/Users/user/dir2"`.
2323

2424
* #### `externalConsole`
25-
If set to `true`, launches an external console for the application. If `false`, no console is launched and VS Code's debugging console is used. Note this option is ignored in some cases for technical reasons.
25+
Windows: When set to true, it will spawn an external console. When set to false, it will use VS Code's integratedTerminal.
26+
Linux: When set to true, it will notify VS Code to spawn an external console. When set to false, it will use VS Code's integratedTerminal.
27+
macOS: When set to true, it will spawn an external console through `lldb-mi`. When set to false, the output can be seen in VS Code's debugConsole. Due to limitations within `lldb-mi`, integratedTerminal support is not available.
2628

2729
* #### `logging`
2830
Optional flags to determine what types of messages should be logged to the Debug Console.
@@ -94,10 +96,10 @@ The following options enable you to modify the state of the target application w
9496

9597
## Customizing GDB or LLDB
9698

97-
You can change the behavior of GDB or LLDB by setting the following options.
99+
You can change the behavior of GDB or LLDB by setting the following options:
98100

99101
* #### `MIMode`
100-
Indicates the debugger that VS Code will connect to. Must be set to `gdb` or `lldb`. This is pre-configured on a per-operating system basis and can be changed as needed.
102+
Indicates the debugger that VS Code will connect to. Must be set to `gdb` or `lldb`. This is pre-configured on a per-operating system basis and can be changed as needed.
101103

102104
* #### `miDebuggerPath`
103105
The path to the debugger (such as gdb). When only the executable is specified, it will search the operating system's PATH variable for a debugger (GDB on Linux and Windows, LLDB on OS X).
@@ -152,7 +154,7 @@ The C/C++ extension enables debugging dump files on Windows and core dump files
152154
If you want to debug a Windows dump file, set this to the path to the dump file to start debugging in the `launch` configuration.
153155

154156
* #### `coreDumpPath`
155-
Full path to a core dump file to debug for the specified program. Set this to the path to the core dump file to start debugging in the `launch` configuration.
157+
Full path to a core dump file to debug for the specified program. Set this to the path to the core dump file to start debugging in the `launch` configuration.
156158
_Note: core dump debugging is not supported with MinGw._
157159

158160
## Remote debugging or debugging with a local debugger server
@@ -175,7 +177,7 @@ _Note: core dump debugging is not supported with MinGw._
175177
## Additional properties
176178

177179
* #### `processId`
178-
Defaults to `${command.pickProcess}` which will display a list of available processes the debugger can attach to. It is recommended to leave this default, but the property can be explicitly set to a specific process ID for the debugger to attach to.
180+
Defaults to `${command.pickProcess}` which will display a list of available processes the debugger can attach to. It is recommended to leave this default, but the property can be explicitly set to a specific process ID for the debugger to attach to.
179181

180182
* #### `request`
181183
Indicates whether the configuration section is intended to `launch` the program or `attach` to an already running instance.
@@ -184,7 +186,7 @@ _Note: core dump debugging is not supported with MinGw._
184186
`Deprecated` This option is no longer needed as the target architecture is automatically detected.
185187

186188
* #### `type`
187-
Indicates the underlying debugger being used. Must be `cppvsdbg` when using the Visual Studio Windows debugger, and `cppdbg` when using GDB or LLDB. This is automatically set to the correct value when the
189+
Indicates the underlying debugger being used. Must be `cppvsdbg` when using the Visual Studio Windows debugger, and `cppdbg` when using GDB or LLDB. This is automatically set to the correct value when the
188190
**launch.json** file is created.
189191

190192
* #### `sourceFileMap`

0 commit comments

Comments
 (0)