gdb - Using cgdb for a ncurses c application -


when debug ncurses appplication following:

gdb --tty=/dev/ttys000 ... 

this make ncurses application run in different terminal 1 gdb runs in.

recently discovered cgdb , it. unfortunately not seem respect --tty option.

are there other way of doing this? how cgdb people debug cgdb :) ?

thanks.

yes, can use tty command same way --tty option, either in gdb or in cgdb. see debugging ncurses programs. can use gdb in tui mode. cgdb.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -