Add option 'dump memory on halt'