0

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.

thisisjaymehta
  • 614
  • 1
  • 12
  • 26
tgv4321
  • 9
  • 3

1 Answers1

1

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:

Thomas Dickey
  • 51,086
  • 7
  • 70
  • 105