The problem is when in debugging mode the debugger will stop all work on the same thread, so your GUI never has a chance to repaint itself.

The message at the end about not being able to find the...