c++ - Difference Between GUI debugger and terminal debuggers -
what advantages gui debugger in eclipse , advantages using command line debugger such gdb? industry use command line debuggers? , if so, situations people use command line debuggers?
i use gdb, advantages can think of off top of head:
- being command line, debugging binaries on remote systems easy opening ssh connection.
- great scripting support, , ability run many commands per breakpoint (see
continue
keyword) - much shorter start-up time , faster development cycle.
- copy&pastable commands , definable functions let repeat common commands easier
- gdb speaks well-defined protocol, can debug code running on lots of obscure hardware , kernels.
- typing short commands shorter , more efficient in long run working around gui (in opinion).
however, if you're next system or runtime you've never used before, using visual debugger can easier started get-go. also, having debugger tightly integrated ide (if use one) can big boost in productivity.
visual debugger , command line ones don't have separate, there visual front ends gdb, such ddd. (i don't use ddd since feels ultra kludgy , outdated. exist though. xcode wraps gdb debugging support)
Comments
Post a Comment