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
Stopping due to fatal error: NullReferenceException: Object reference not set to an instance of an object
The program does not start and the external console stays empty.
I have been able to reproduce this issue on Debian and Ubuntu. (Other platforms unknown.)
I have only seen this happen with C/C++ debugging. (The only other configuration I have tried is Node.js. Could someone please try other configurations?)
This began to occur after updating to 1.30.0, although this may be present in prior versions.
The C/C++ Extension must be enabled to use C/C++ debugging.
Screenshot:
The text was updated successfully, but these errors were encountered:
I have tried reproducing this and could not. I tried with Ubuntu 16 and Mac OS X.
Here's my sample program and my launch.json
I believe this is an issue with the C++ extension thus I am moving it to the C++ repository.
If it turns out to be an issue with VSCode please let us know and we will look into a candidate fix.
#include<stdio.h>intmain(int argc, char *argv[]) {
for (int i = 0; i < argc; i++) {
fprintf(stdout, "argv[%d]: %s\n", i, argv[i]);
}
return0;
}
As reported by users here microsoft/vscode#64948
fyi @WardenGnaw @pieandcakes
Version: 1.30.0
Commit: c6e592b2b5770e40a98cb9c2715a8ef89aec3d74
Date: 2018-12-11T22:21:33.585Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Linux x64 4.18.0-3-amd64
Steps to Reproduce:
What happens:
The Debug Console displays:
The program does not start and the external console stays empty.
The C/C++ Extension must be enabled to use C/C++ debugging.
Screenshot:
The text was updated successfully, but these errors were encountered: