I'm trying to debug my code (crash due to seg-fault).
I used printfs in my code, and meanwhile I see my init() function passed successfully, but the crash happens before the ControlStep() function (I have a log at the beginning of the function).
Since I can't add logs to argos's files, I'm not sure how I can debug the flow. Is there a better way ?
I tried to use gdb, but it didn't work for me (maybe I'm doing something wrong.. can't tell )
My question is - what is the best way to debug my code ?