Linux中c程序調試技巧

第一,觀察代碼,尋找問題spa 第二,手工調試debug 1,觀察代碼,打印的方式(打印行號)調試3d 方式一,priintf("[%d]\n",_LINE_);調試 方式二,blog 代碼中新增 (宏)  #ifdef DEBUGit                            priintf("[%d]\n",_LINE_);io                           
相關文章
相關標籤/搜索