On Sunday, 7 January 2018 at 15:40:36 UTC, H3XT3CH wrote: > I need it for windows and linux but primary for windows On *nix this is traditionally called a "core dump". A quick search will get you lots of tutorials. Most distros today disable core dumps with ulimit. Run "help ulimit" and check the -c flag.