same Workaround for Debugwindow like for TestviewWindow