Using gdb or IDE debugger - Tektutor - A Software consulting & training company