improved error-handling for debugger testing DSL
fixed broken While debugger test on linux