Fix issues with XCode 5.1
Add debugging development method

Not to be used unless you know precisely what you are doing