I'm debugging a ncurses program using the gdb. when program run and reached the breakpoint and use cont command, ncurses program gui screen overlap a gdb screen, like this picture
I'm sorry I can't show you the code because I had a situation.
I'm debugging a ncurses program using the gdb. when program run and reached the breakpoint and use cont command, ncurses program gui screen overlap a gdb screen, like this picture
I'm sorry I can't show you the code because I had a situation.
Both "own" the whole display. You can work around this by running gdb in a different terminal, and attaching to the process which uses ncurses.
Further reading: