debugging discrete DMP