GDB / LLDB 基础调试:断点、单步、栈帧与内存 | C语言

本章覆盖:Debug build;breakpoint;step / next;print / display;backtrace;查看指针和数组;崩溃后从调用栈定位根因。

本章知识点

  • Debug build
  • breakpoint
  • step / next
  • print / display
  • backtrace
  • 查看指针和数组
  • 崩溃后从调用栈定位根因