1. 程式人生 > >linux gdb 除錯工具

linux gdb 除錯工具

進入 gdb 除錯模式後

help 檢視支援的所有命令
info thread 列出所有的執行緒
thread apply all bt 檢視所有執行緒的呼叫堆疊
thread ID 切換到指定的ID執行緒