that's because you tried to run it again while it was already running so it exited, you should attach gdb to the running one rather
that's because you tried to run it again while it was already running so it exited, you should attach gdb to the running one rather