Hello
Is there a way to see (using C++) the stack trace of a sequence of calls ? I'm talking about the same functionality of the printStackTrace() method from Java.
Example:
Print StackTrace
NewEx01: Thrown from meth02
at Class01.meth02(StackTr01.java:92)
at Class01.meth01(StackTr01.java:60)
at StackTr01.main(StackTr01.java:52)
Caused by: NewEx02: Thrown from meth03
at Class01.meth03(StackTr01.java:102)
at Class01.meth02(StackTr01.java:85)
... 2 more
Caused by: NewEx03: Thrown from meth04
at Class01.meth04(StackTr01.java:112)
at Class01.meth03(StackTr01.java:100)
... 3 more
Thank you.
Is there a way to see (using C++) the stack trace of a sequence of calls ? I'm talking about the same functionality of the printStackTrace() method from Java.
Example:
Print StackTrace
NewEx01: Thrown from meth02
at Class01.meth02(StackTr01.java:92)
at Class01.meth01(StackTr01.java:60)
at StackTr01.main(StackTr01.java:52)
Caused by: NewEx02: Thrown from meth03
at Class01.meth03(StackTr01.java:102)
at Class01.meth02(StackTr01.java:85)
... 2 more
Caused by: NewEx03: Thrown from meth04
at Class01.meth04(StackTr01.java:112)
at Class01.meth03(StackTr01.java:100)
... 3 more
Thank you.