some sample code
Integration of debug on error
Debug on entry