[TIMOB-17924] Fixed crash with debugger