I am taking the first steps with GDB in TUI mode.
During a debugging session, I see that each line displayed on the console appears on one line (in the figure you see 222222 , highlighted in red). This is similar to the output area of a single line.
In addition, each \n does not clear this line, so all lines rewrite each other, making my output very confusing.
Can you help me a little with this problem or give me some key search command to get a clean result?
I also selected another area (in Figure 1111111 ), because the first line is displayed there, and then all the rest in the frame of the source code window.

debugging gdb
Abruzzo forte e gentile
source share