【发布时间】:2020-12-03 18:14:19
【问题描述】:
我正在使用apollocaffe 和Reinspect。 Apollocaffe 在 c++ 库中,而 Reinspect 在 python 中。从 apollocaffe 重新检查称为 apis。 我喜欢在 apollocaffe 中调试这些 api。从python代码中,我使用了
python -m pdb train.py
但是我不能从 apollocaffe 进入 api。
我喜欢cout << "test" << endl; in apollocaffe。但是没有任何东西打印到控制台。怎么调试c++代码,至少能打印就好了。
【问题讨论】: