Skip to content

Commit 17a1b31

Browse files
authored
Merge pull request #13903 from microsoft/main
Merge for 1.27.4
2 parents 1ed7c86 + d0e089c commit 17a1b31

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

Extension/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# C/C++ for Visual Studio Code Changelog
22

3+
## Version 1.27.4: September 8, 2025
4+
### Bug Fixes
5+
* Fix crash recovery. [#13838](https://github.com/microsoft/vscode-cpptools/issues/13838)
6+
* Fix a case of unintialized memory in cpptools-srv.
7+
* Fix excessive cpptools messages when scrolling.
8+
39
## Version 1.27.3: September 3, 2025
410
### Enhancements
511
* Show a warning when too many files are processed in a workspace. [#10828](https://github.com/microsoft/vscode-cpptools/issues/10828)

Extension/package.json

Lines changed: 1 addition & 1 deletion
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": "1.27.3-main",
5+
"version": "1.27.4-main",
66
"publisher": "ms-vscode",
77
"icon": "LanguageCCPP_color_128x.png",
88
"readme": "README.md",

Extension/src/LanguageServer/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,9 +1706,10 @@ export class DefaultClient implements Client {
17061706

17071707
// Wait 1 second to allow time for the file watcher to signal a crash call stack write has occurred.
17081708
setTimeout(() => {
1709+
const sanitizedLspMessage = this.lastInvokedLspMessage.replace('/', '.');
17091710
telemetry.logLanguageServerEvent("languageClientCrash",
17101711
{
1711-
lastInvokedLspMessage: this.lastInvokedLspMessage
1712+
lastInvokedLspMessage: sanitizedLspMessage
17121713
},
17131714
{
17141715
restarting: Number(restart),

Extension/src/LanguageServer/clientCollection.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export class ClientCollection {
121121
const client: cpptools.Client = pair[1];
122122

123123
const newClient: cpptools.Client = this.createClient(client.RootFolder, true);
124+
await newClient.ready;
124125
for (const document of client.TrackedDocuments.values()) {
125126
this.transferOwnership(document, client);
126127
await newClient.sendDidOpen(document);

0 commit comments

Comments
 (0)