I tried to debug a program with gdb because it crashing randomly (after some days, after some hours..). But when I tried to debug it, my program throw these errors: "Lost connection to MySQL server" and "MySQL server has gone away"
I don't get these errors when I'm running my program without gdb, so what's the problem with the gdb?
I tried to incrase the max_allowed_packet to 256M in my.cnf, but not worked..