ended debug