I am trying to print object hierarchy of the instance of a class when there is an error. I need this in order to print the source of error besides the error message. Do you know of any way to achieve it?

I am trying to print object hierarchy of the instance of a class when there is an error. I need this in order to print the source of error besides the error message. Do you know of any way to achieve it?

could you be more specific on your class, or maybe post the class, most likley how you will print the object hierarchy when there is a source of error is class specific.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.