rplantz
March 1st, 2008, 03:01 PM
I've taught assembly language for over 20 years. I have students use a debugger mostly as a learning tool -- to see what is going on in registers, memory, etc.
Since I've started teaching under Linux 9 years ago, I've had my students use gdb. Most of them hate it. They grew up in a gui world. (I grew up in a front panel switch world, so command line gdb is "high level" for me.)
I know that gdb has several gui frontends. For example, I've installed ddd, xxgdb, and insight. So far, it seems like insight would be the best one for my teaching purposes. You can display a memory area and the registers, then single-step through the code and watch things change. This is precisely what beginning assembly language programmers need to see.
But I am a newcomer to Linux gui debuggers. I would like to hear others' opinions about which gui debugger is the best for these teaching purposes.
Keep in mind that these are very simple teaching programs, so there is no real debugging. Just using the debugger to watch changes. And it would be nice if the program is "desktop agnostic."
Since I've started teaching under Linux 9 years ago, I've had my students use gdb. Most of them hate it. They grew up in a gui world. (I grew up in a front panel switch world, so command line gdb is "high level" for me.)
I know that gdb has several gui frontends. For example, I've installed ddd, xxgdb, and insight. So far, it seems like insight would be the best one for my teaching purposes. You can display a memory area and the registers, then single-step through the code and watch things change. This is precisely what beginning assembly language programmers need to see.
But I am a newcomer to Linux gui debuggers. I would like to hear others' opinions about which gui debugger is the best for these teaching purposes.
Keep in mind that these are very simple teaching programs, so there is no real debugging. Just using the debugger to watch changes. And it would be nice if the program is "desktop agnostic."