Compiler: Debug statements are now done before their action is performed.

This may help with tracking down bugs.