first of all, we should prepare the soruce code at the right place. and then start gdb to debug a process.
when the process is under debug, then use command "win" to switch to graphic interface which will show source code and debug information at the same time.
there are some other usefullcommands, but now I forget it, just will remember when using it, maybe I will complete it later.
“help win” will show details.
本文介绍如何利用GDB调试器通过命令行启动并切换到图形界面进行源代码及调试信息的同时展示,有助于开发者更好地理解和定位程序中的问题。
760

被折叠的 条评论
为什么被折叠?



