You can create a static method in Global / Info class or wherever you want and call it within the debugging method. When the method is called you will see a InfoLog about the call stack. Though this example shows you an InfoLog but you can use any destination for your output and optionally add time-stamp to it.
I hope this article helps you someway in debugging x++.
Feel free to post any comment / feedback here.

Like
Report
*This post is locked for comments