bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug ncurses


From: Dan Nelson
Subject: Re: Debug ncurses
Date: Sun, 24 Mar 2002 12:40:04 -0600
User-agent: Mutt/1.3.28i

In the last episode (Mar 24), Mauricio Amorim da Silva said:
>     Exist any manner for debug an program that uses ncurses in c or
> perl, with gdb or with perl -d ? I question it, because the screen
> after an initscr(), stay inoperative.

One good way is to gdb it from another terminal.

tty1            tty2
----            ----

./myprog
                ps ax | grep myprog
                gdb ./myprog <pid>


I don't use perl, so I can't tell you whether it's possible to do the
same in perl.

-- 
        Dan Nelson
        address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]