M
M
magma123672021-04-13 10:52:30
Cygwin
magma12367, 2021-04-13 10:52:30

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.
60754bfea84d5854119597.png
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.
60754cbf71e99214151618.png
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 question

Ask a Question

731 491 924 answers to any question