开发者

Debugging ncurses with Eclipse CDT

开发者 https://www.devze.com 2023-01-19 21:44 出处:网络
I\'m writing a C++ application using nc开发者_JAVA技巧urses in Eclipse CDT however I can\'t run/debug my app in eclipse because the console in eclipse does not work with curses. My app runs fine if I

I'm writing a C++ application using nc开发者_JAVA技巧urses in Eclipse CDT however I can't run/debug my app in eclipse because the console in eclipse does not work with curses. My app runs fine if I run it from a terminal but I just added some new code and now I'm getting a segmentation fault so I'd like to use the debugger in eclipse to help me fix the issue. Is there a way to have eclipse run/debug my application but use a different terminal for the output much like when you do "tty /dev/pts/1" in gdb? Or any other way to debug a ncures application in eclipse?

Thx in advance!


also you should add TERM=xterm to Environment in the Debug Configurations dialog

0

精彩评论

暂无评论...
验证码 换一张
取 消