Debug ncurses app in Eclipse

I am trying to debug an ncurses application in an Eclipse CDT. I managed to get console output redirected to a real terminal using this post .

However, the update frequency on the terminal seems to be broken - it constantly spams the text and does not seem to respond to input (it is difficult to say with flickering).

I think this is an Eclipse configuration problem, not a gdb problem, because if I debug it manually, as described here , it will not happen, and if I try to debug it β€œnormally” in Eclipse, the console output scrolls quickly in exactly the same way.

I have a terminal set of sleep 100000000 to avoid the Bash struggle for entering the console, so I also do not think that it is.

Has anyone been able to do this successfully?

+4
source share

Source: https://habr.com/ru/post/1443608/


All Articles