Switching in debug mode takes several minutes

Hello,

I am using Keil v5.26. To estimate the size of my project, the produced hexfile has a size of 0,5 MB. 

Unfortunately, I am facing a severe problem for the time I am programming on this project. Everytime I wanna go into debug-mode it takes round-about 5-7 Minutes till the debug interface appears. Meanwhile the application is frozen (see screenshot) for several minutes as mention. 

How can I prevent this? Of course, debugging is then even less fun.

More questions in this forum