Why does slide workspace vanish when Liberoffice Impress crashes?

Happened on two different Macs, one with El Capitan and one with Sierra, and ver 6.2.2 and 6.2.3 of Libreoffice. Seems to happen when I’m trying to work out Basic macro code and get errors. If can’t find out problem or what I may be doing wrong, will have to abandon Libreoffice as can’t generate presentation if can’t edit slides.