breakpoints in GDB

后端 未结 2 1764
慢半拍i
慢半拍i 2020-12-18 15:27

I think this may have been asked earlier but i can\'t find one that satisfied my requirements.

I am debugging(infact trying to understand) a large project by tryin

2条回答
  •  轮回少年
    2020-12-18 15:34

    1. No.
    2. No.
    3. Yes.

    Make sure you compile with -g (debug) option. Make sure the sourcepaths are set correctly. Use directory, show directories and dir commands to see/set.

提交回复
热议问题