Fixes Hand on debug build
Merge pull request #142 from davids5/debug_called_after_constructor

Fixes Hang on debug build