This issue is resolved now by debug prints..Anyway comments are welcome
I think it is not easy to debug if the class element is not static ..