Merge pull request #3 from julienc91/master

Restore positions of cursors after inserting debug statements