GDB 基本用法 - 水阙 #13
Replies: 1 comment 1 reply
-
分享几篇不错的介绍笔记: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
GDB 基本用法 - 水阙
废话以后有时间再加。
首先编译时开启调试选项:
1 g++ main.cpp -g -O0 -O0指定编译器的优化级别为 0,即不优化。
https://blog.yychi.website/post/basic-gdb-usages/
Beta Was this translation helpful? Give feedback.
All reactions