YCP debugger fixes