Skip to main content
  1. Tags/

Gdb

2018

gdb学习笔记

·1 min
用gdb调试c++的时候,需要添加-g编译选项add_compile_options(-g),并且关掉各种编译优化