added runtime xapi checks for fatal under DEBUG
added runtime xapi checks for fatal under DEBUG
added runtime xapi checks for fatal under DEBUG