Temporary implementation for shadow_dirtypage and cleanpage
Added debug info
Tried to locate the bug