I develop and run C++ program in Eclipse CDT on Linux.
The problem is that Eclipse CDT does't show any runtime error message (e.g. segmentation fault) in console, while I can get such error message when running program directly with command line.
|
4
|
Hello
(replace "arg0 arg1 ..." with your program arguments, if any) |
Eclipse cdt一般能显示程序编译过程,但是最近在调试一个在命令行显示Segment fault的程序在Eclipse中却没有显示。
经过上边的方法能够正常显示了: