Hello,
I am having problem with debugging my code. I am writing a C code and then I compile it with the Makefile. I make a target file and then copy it in my Robot(Khepera III) and then run the program over there.
I compile it ofcorse on my machine and then copy the compiled file in the robot.
I am having problem with debugging the code. I am writing it the code on the vi editor and wants to run GDB debugger to debug the code , as I have no other way to do it.
But the GDB debugger seem to run on the executable file. I compile it using the target file , n then if am using the .o file to run in the gdb debugger, it says:
"executable file not found"
I am having hard time to debug this code
Can anyone please suggest me, how I cna efficiently debug my code, as other wise am using printf statements to do that.
But am having hard time to do that way.
I will be really glad if someone can suggest me other way or some solution to it.
Thanks a tonn in advance.
Regards