System Workbench for STM32

Unable to run CubeMX created code on STM32F4-DISCOVERY

Debugging is absolutly possible.

I can’t run the programm on the chip. Just by clicking run it doesn’t work. Only in debug mode. But this “deployment” doesn’t stay on the chip. After closing the debug connection the chips resets to some undefined state.
I expected that run just flashes the compiled code to the chip. Is that correct?