Answer the question
In order to leave comments, you need to log in
Why doesn't GDB cygwin output anything to the terminal in VS Code?
When you start debugging GDB, the execution never finishes and therefore doesn't output anything.
Compilation succeeds. That is, task.json works fine, but when launching gdb, the settings of which were created automatically in launch.json, there are no results from the program.
When running the program manually via terminal, the program works, but gdb doesn't.
The shell costs Cygwin. Installed packages gcc, g++, gdb and the main ones that are themselves offered for installation. In path the path is registered.
I would like to say that similar actions were carried out with MinGW where the launch of gdb worked perfectly. But for some reason it does not work for Cygwin. But I like Cygwin a lot more, so I would like to use it.
Hope this helps me to solve this problem.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question