Starting GDB: gdb name-of-executable gdb -e name-of-executable -c name-of-core-file gdb name-of-executable --pid=process-id Use ps -auxw to list process id's: Attach to a process already running: [prompt]$ ps -auxw | grep myapp user1 2812 0.7 2.0 1009328 164768 ? Sl Jun07 1:18 /opt/bin/myapp [prompt]$ gdb /opt/bin/myapp 2812 OR [prompt]$ gdb /opt/bin/myapp --pid=2812 Command line options: (version