Adding debug message for simple object viewer