Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dump current stack in GNAT compiled Ada?

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 anything similar?

like image 591
mainstringargs Avatar asked Nov 29 '25 16:11

mainstringargs


1 Answers

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.

like image 99
Marc C Avatar answered Dec 01 '25 13:12

Marc C



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!