Tracing from within a class

I almost feel dumb posting this, but I am develpoing a project and seem unable to trace from within a class. It definatley helps to have this ability and I have yet to find a suitable work around. Does anyone have any good ideas?