数据库【Linux】gdb调试 云博小周宇2024年5月5日2023年8月25日1 Min Read g++ -g … gdb l 列出代码,回车键继续 break main / 行号 加断点 n 单步运行 s 单步运行(可进入函数) p 输出变量 p *array@len 输出数组