In java I use this method sometimes to see where I am in the current stack:
http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Thread.html#dumpStack()
I am new to the Ada world, but am curious if there is anyth开发者_如何转开发ing similar?
Viewing the traceback stack is compiler-specific. The GNAT Ada compiler provides some packages to manage this (in conjunction with some compile/link options). See the Stack Traceback section of the GNAT User's Guide for information and examples.
精彩评论