Sì basta eseguirlo per step..
man gdb