add core dump and backtrace breakpoint function