0

C++ for VS code: Unable to start debugging

when i debug my program then this error occurred during the debugging the program.

Unable to start debugging. Program path 'd:\C++ Program and Practice Folder\SelfPractice Question\rough2.exe' is missing or invalid.

GDB failed with message: "d:\C++ Program and Practice Folder\SelfPractice Question\rough2.exe": not in executable format: File format not recognized

This may occur if the process's executable was changed after the process was started, such as when installing an update. Try re-launching the application or restarting the machine.

273K
  • 29,503
  • 10
  • 41
  • 64
  • See [unable to start debugging](https://stackoverflow.com/questions/60923232/error-unable-to-start-debugging-unexpected-gdb-output-from-command-exec-run). and [this](https://stackoverflow.com/questions/41435395/unable-to-start-debugger-for-c-in-visual-studio-code) – Jason Nov 06 '22 at 17:04

0 Answers0