哪个是最好的Linux C / C ++调试器(或前端到gdb)来帮助教学编程? [英] Which is the best Linux C/C++ debugger (or front-end to gdb) to help teaching programming?
问题描述
我为新手教授一种liteC ++编程课程(lite意味着没有指针,没有类,只是普通的C,加引用和STL字符串和向量)。学生以前没有编程经验,因此我相信使用交互式调试器将帮助他们了解程序流程,变量和递归。
I teach a sort of "lite" C++ programming course to novices ("lite" meaning no pointers, no classes, just plain old C, plus references and STL string and vectors). Students have no previous experience in programming, so I believe that using an interactive debugger would help them understand program flow, variables, and recursion.
该课程在Linux中教授。教他们使用gdb只是overkill(他们不会使用也不了解大多数功能)。我只需要一个简单但易于使用:看看程序现在在哪一行,什么是堆栈(局部变量,以前的调用等)。我看起来类似于旧的Turbo Pascal或Turbo C ++ Borland的调试器或Visual Studio调试器。
The course is taught in Linux. Teaching them to use gdb is just overkill (they will not use nor understand most features). I just need something simple but easy to use: to see at which line the program is now, what is in the stack (local variables, previous calls, etc.). I look something similar to old Turbo Pascal or Turbo C++ Borland's debugger, or Visual Studio debugger.
谢谢你,
推荐答案
ddd 是gdb的图形前端,这是相当不错的。其中一个缺点是一个经典的X接口,但我似乎记得它是非常直观。
ddd is a graphical front-end to gdb that is pretty nice. One of the down sides is a classic X interface, but I seem to recall it being pretty intuitive.
这篇关于哪个是最好的Linux C / C ++调试器(或前端到gdb)来帮助教学编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!