debugging an ncurses program

Pierre Abbat phma at phma.optus.nu
Fri Mar 17 16:37:31 GMT 2006


I'm writing an ncurses program and would like to debug it. When I run it 
without debugging, it behaves fine (except that some Russian characters show 
up weird, which is why I need to debug it). When I try to debug it in 
kdevelop, a window pops up, says "Error initializing terminal: unknown", and 
vanishes. With a breakpoint I found that it is conking out in the initscr 
call. Running it in gdb in a terminal succeeds, but I'll get terribly 
confused trying to debug it in the same screen it's manipulating. How do I 
get it to know the terminal type in the debugger?

phma

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list