Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# C/C++ for Visual Studio Code Changelog

## Version 1.27.4: September 8, 2025
### Bug Fixes
* Fix crash recovery. [#13838](https://github.com/microsoft/vscode-cpptools/issues/13838)
* Fix a case of unintialized memory in cpptools-srv.
* Fix excessive cpptools messages when scrolling.

## Version 1.27.3: September 3, 2025
### Enhancements
* Show a warning when too many files are processed in a workspace. [#10828](https://github.com/microsoft/vscode-cpptools/issues/10828)
Expand Down
2 changes: 1 addition & 1 deletion Extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cpptools",
"displayName": "C/C++",
"description": "C/C++ IntelliSense, debugging, and code browsing.",
"version": "1.27.3-main",
"version": "1.27.4-main",
"publisher": "ms-vscode",
"icon": "LanguageCCPP_color_128x.png",
"readme": "README.md",
Expand Down
3 changes: 2 additions & 1 deletion Extension/src/LanguageServer/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1706,9 +1706,10 @@ export class DefaultClient implements Client {

// Wait 1 second to allow time for the file watcher to signal a crash call stack write has occurred.
setTimeout(() => {
const sanitizedLspMessage = this.lastInvokedLspMessage.replace('/', '.');
telemetry.logLanguageServerEvent("languageClientCrash",
{
lastInvokedLspMessage: this.lastInvokedLspMessage
lastInvokedLspMessage: sanitizedLspMessage
},
{
restarting: Number(restart),
Expand Down
1 change: 1 addition & 0 deletions Extension/src/LanguageServer/clientCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export class ClientCollection {
const client: cpptools.Client = pair[1];

const newClient: cpptools.Client = this.createClient(client.RootFolder, true);
await newClient.ready;
for (const document of client.TrackedDocuments.values()) {
this.transferOwnership(document, client);
await newClient.sendDidOpen(document);
Expand Down