Debug info: Add namespace and class types. Also improve debug info is assembly is not compiled in debug mode.