GDB

  • setup ulimits

    1

  • run your binary(will generage core file)

    1
    
    gdb -c core