Difference Between GUI Debugger and Terminal Debugger

What are some of the benefits to a GUI debugger, such as in Eclipse, and what are the benefits of using a command line debugger like gdb? Does the industry use command line debuggers? and if so, in what situations do people use command line debuggers?

+3
source share
3 answers

I usually use gdb, but some of the advantages I can come up with with my head:

  • Being a command line, debugging binary files on remote systems is as simple as opening an ssh connection.
  • Great scripting support and the ability to run many commands at a breakpoint (see keyword continue)
  • .
  • , .
  • gdb , , .
  • , ( ).

, , , get-go. , IDE ( ), .

, gdb, DDD. ( DDD, - . , . XCode gdb )

+2

( ), Xserver/ . CLI SIGSEGV ( ). , ( /-).

, , /.

, , . script, , gdb. .

+1

. , , , , . , , , , .

Almost the only time when a really strong technical motivation for this or that is if you are debugging a window system. For example, using a debugger that depends on having a functional X server does not work well if what you are trying to debug is the X server itself.

0
source

Source: https://habr.com/ru/post/1792865/


All Articles