So, while nweb is still running in another xterm session, halt the strace by pressing Ctrl + c, and then launch the GDB Debugger by typing the commands shown in Listing 5.
因此,在nweb运行于另一个xterm会话的同时,按下Ctrl + c停止strace,然后输入清单5中所示的命令启动gdb调试工具。
Similarly, the CDT leverages and integrates with standard C/C++ tools, such as g++, make, and GDB.
同样地,CDT 将利用标准的 C/C++ 工具并与之集成,例如 g++、make 和 GDB。
To debug with a core file, you need the program executable and source files, as well as the core file. To start GDB with a core file, use the -c option.
要用核心文件进行调试,您不仅需要程序的可执行文件和源文件,还需要核心文件本身。
应用推荐