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
cmakeDriver: Fixes getCompilerVersion by using compilerPath instead of compilerName (#4647)
* Dump stackTrace for failed proc::execute
It's for easily locate where failed when doing proc::execute
* cmakeDriver: Fixes getCompilerVersion by using compilerPath instead of compilerName
Closes: #3063
Signed-off-by: Yonggang Luo <[email protected]>
---------
Signed-off-by: Yonggang Luo <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ Features:
8
8
Bug Fixes:
9
9
10
10
- Fix user-level tasks defined in `~/.config/Code/User/tasks.json` causing infinite spinner. [#4659](https://github.com/microsoft/vscode-cmake-tools/pull/4659)
11
+
- cmakeDriver: Fixes getCompilerVersion by using compilerPath instead of compilerName. [#4647](https://github.com/microsoft/vscode-cmake-tools/pull/4647)[@lygstate](https://github.com/lygstate)
log.warning(localize({key: 'process.error',comment: ['The space before and after all placeholders should be preserved.']},'The command: {0} failed with error: {1}',`${cmdstr}`,`${err}`));
239
+
log.warning(localize({key: 'process.error',comment: ['The space before and after all placeholders should be preserved.']},'The command: {0} failed with error: {1} stack: {2}',`${cmdstr}`,`${err}`,`${stackTrace}`));
238
240
});
239
241
child?.on('exit',(code,signal)=>{
240
242
if(code!==0){
241
243
if(signal!==null&&signal!==undefined){
242
-
log.warning(localize({key: 'process.exit.with.signal',comment: ['The space before and after all placeholders should be preserved.']},'The command: {0} exited with code: {1} and signal: {2}',`${cmdstr}`,`${code}`,`${signal}`));
244
+
log.warning(localize({key: 'process.exit.with.signal',comment: ['The space before and after all placeholders should be preserved.']},'The command: {0} exited with code: {1} and signal: {2} stack: {3}',`${cmdstr}`,`${code}`,`${signal}`,`${stackTrace}`));
243
245
}else{
244
-
log.warning(localize({key: 'process.exit',comment: ['The space before and after all placeholders should be preserved.']},'The command: {0} exited with code: {1}',`${cmdstr}`,`${code}`));
246
+
log.warning(localize({key: 'process.exit',comment: ['The space before and after all placeholders should be preserved.']},'The command: {0} exited with code: {1} stack: {2}',`${cmdstr}`,`${code}`,`${stackTrace}`));
0 commit comments