apollo icon indicating copy to clipboard operation
apollo copied to clipboard

How Can I debug the code?

Open gengqx opened this issue 9 years ago • 3 comments

I was used the develop environment like Visual Studio,CCS, I wonder how could I run the code step by step.You know the other development have,for example:step in,step out,run to cursor. We alse could see the adress of the variable,the value of the viralble. But I could I debeg the could in Apollo,Could you give me some help?

gengqx avatar Nov 02 '17 08:11 gengqx

Most of the bugs can be found through logging (using AERROR, AINFO, ADEBUG). For step by step debug, we usually use gdb.

lianglia-apollo avatar Nov 02 '17 16:11 lianglia-apollo

The project is managed by bazel. You can integrate bazel with some IDEs. https://docs.bazel.build/versions/master/ide.html

startcode avatar Nov 03 '17 22:11 startcode

Hello, I and you have the same confusion. I now have the Bazel plugin installed in Clion. But I can't successfully import Apollo code to compile. Do you have any methods? Thank you @gengqx

renzhuli avatar Feb 06 '18 13:02 renzhuli