Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant run/debug project after recent vscode update #128300

Closed
nmsobri opened this issue Jul 9, 2021 · 3 comments
Closed

Cant run/debug project after recent vscode update #128300

nmsobri opened this issue Jul 9, 2021 · 3 comments

Comments

@nmsobri
Copy link

nmsobri commented Jul 9, 2021

I used to run my project using the launch.json file..It used to work
But now, it completely not working...I cant run nor can i debug my project
When pressing F5, vscode will show the debug toolbar and it disappear seconds later..

Here is my launch.json

{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "(Windows) Launch",
			"type": "cppvsdbg",
			"request": "launch",
			"program": "${workspaceFolder}/zig-out/bin/pong.exe",
			"args": [],
			"stopAtEntry": false,
			"cwd": "${workspaceFolder}",
			"environment": [],
			"preLaunchTask": "build",
			"internalConsoleOptions": "openOnSessionStart",
		}
	]
}
@jojolatina
Copy link

I have the same problem, I can't run my program anymore. This is unacceptable. They waste my time with their stupid update. And there is another problem: when I hit F5, the debug view opens everytime even though I set the "Open Debug" setting to "openOnDebugBreak", not "openOnSessionStart"

@slysherz
Copy link

slysherz commented Jul 9, 2021

Same here, updated VSCode this morning and now I can't debug C++ programs. When I click F5, the debugging bar appears and then just disappears. No errors or messages anywhere that I could find.

It's quite easy to reproduce, just click Add Configuration..., select C/C++: (Windows) Launch and change the program into something valid. Then click F5.

I can provide more info if necessary.

EDIT: this seems like a duplicate of #128288

@nmsobri nmsobri changed the title Cant run my project after recent vscode update Cant run/debug project after recent vscode update Jul 9, 2021
@nmsobri
Copy link
Author

nmsobri commented Jul 9, 2021

Looks like microsoft/vscode-cpptools#7808

@nmsobri nmsobri closed this as completed Jul 9, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants