Skip to content

Commit

Permalink
Merge pull request #5705 from microsoft/seanmcm/screenSizeCherryPick
Browse files Browse the repository at this point in the history
Screen size cherry pick
  • Loading branch information
sean-mcmanus authored Jul 2, 2020
2 parents 02a7c5c + 7673fd0 commit a9d86c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions Extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# C/C++ for Visual Studio Code Change Log

## Version 0.29.0-insiders2: July 1, 2020
### Bug Fixes
* Ignore "screen size is bogus" error when debugging. [PR #5669](https://github.com/microsoft/vscode-cpptools/pull/5669)
* nukoyluoglu (@nukoyluoglu)

## Version 0.29.0-insiders: June 24, 2020
### New Features
* Add Doxygen comment support (to tooltip display of hover, completion, and signature help). [#658](https://github.com/microsoft/vscode-cpptools/issues/658)
Expand Down Expand Up @@ -27,8 +32,6 @@
* Fix default build tasks failing on Windows if the compiler isn't on the PATH. [#5604](https://github.com/microsoft/vscode-cpptools/issues/5604)
* Fix updating `files.associations` and .C files being associated with C instead of C++. [#5618](https://github.com/microsoft/vscode-cpptools/issues/5618)
* Fix IntelliSense malfunction when RxCpp is used. [#5619](https://github.com/microsoft/vscode-cpptools/issues/5619)
* Ignore "screen size is bogus" error when debugging. [PR #5669](https://github.com/microsoft/vscode-cpptools/pull/5669)
* nukoyluoglu (@nukoyluoglu)
* Fix potential thread deadlock in cpptools.
* Fix copying a long value from debug watch results in pasting partial value [#5470](https://github.com/microsoft/vscode-cpptools/issues/5470)
* [PR MIEngine#1009](https://github.com/microsoft/MIEngine/pull/1009)
Expand Down
9 changes: 7 additions & 2 deletions Extension/src/Debugger/nativeAttach.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,13 @@ function execChildProcess(process: string, workingDirectory?: string): Promise<s
}

if (stderr && stderr.length > 0) {
reject(new Error(stderr));
return;
if (stderr.indexOf('screen size is bogus') >= 0) {
// ignore this error silently; see https://github.com/microsoft/vscode/issues/75932
// see similar fix for the Node - Debug (Legacy) Extension at https://github.com/microsoft/vscode-node-debug/commit/5298920
} else {
reject(new Error(stderr));
return;
}
}

resolve(stdout);
Expand Down

0 comments on commit a9d86c8

Please sign in to comment.