Changed resume functions to be more verbose in the debug mode.