Add inside __func__ debug info in the runtime

This can be turned off by the macro NDEBUG.