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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -