I am trying to debug C++ code behind python for this library (faster rcnn).
I followed the instruction here.
Say I like to stop a break point at solver.cpp and line 188.
gdb -ex r --args python ./tools/train_faster_rcnn_alt_opt.py --gpu 0 --net_name headhand --weights data/imagenet_models/VGG_CNN_M_1024.v2.caffemodel --imdb headhand_train --cfg experiments/cfgs/config.yml
I press Ctrl + c
then
gdb python 8504
break solver.cpp:188
then type c and enter
But never break at solver.cpp. How can I debug?