I can't debug project using VS

Hi there!
I’ve been working on my current project for around 2 months. It was good for a while, but I can’t use Ctrl+F5 debugging now. When I start a debug, Microsoft VS debug console comes out and just shows the following sentence. Nothing happens then.

C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe (process 2068) exited with code 1.
Press any key to close this window . . .

I tried to delete Saved, Intermediate, and Binaries and re-generate VS project, but it doesn’t work. In other projects, I can use Ctrl+F5, but not in only my current project. The project is compiled without any error, so I think I changed a setting or something accidentally. Now I use Ctrl+B for the hard compile and open the ue project manually in the file explorer.

Does someone know what is the problem here or how to solve this?
My English is not perfect so please let me know if there is an unclear part in my question.

1 Like

Hey hellveiz,
have you tried reinstalling Visual Studio? Maybe there’s an issue with the VS key bindings. Anyway I use F5 to run the debugger, with CTRL+F5 I launch the project in no-debug mode. Anyway you can attach the debugger to the process if you want with CTRL+ALT+P.

Hello Scienziatogm,
Thank you for your advise!

I reinstalled Visual Studio. But I still can’t use CTRL+F5. I tried to debug from “Debug > Start without debugging” in the menu bar and ended up with the same message and window.

If I attach the debugger, what process should I attach to? I googled for more information about attaching a debugger, but I didn’t get how to use it.

After I set up my project as a startup project in the VS solution explorer, I finally got able to use both CTRL+F5 and F5.
While I searched for Attach To Debugger, I found out this solution. Thank you, Scienziatogm!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.