print call stack in C / C++

Help for C/C++ for MVS, OS/390 C/C++, z/OS C/C++ and C/C++ Productivity Tools for OS/390

print call stack in C / C++

Postby valeca » Wed Nov 16, 2022 12:41 am

Is there any way to print the call stack in a running process every time a certain function is called?
Posts: 12
Joined: Wed Sep 28, 2022 3:37 am
Has thanked: 3 times
Been thanked: 0 time

Re: print call stack in C / C++

Postby sergeyken » Wed Nov 16, 2022 8:31 pm

This cannot be a C/C++ function.

This may be an option which can be provided (or not) by a specific version of C/C++ compiler/debugger (with IDE).
Javas and Pythons come and go, but JCL and SORT stay forever.
User avatar
Posts: 409
Joined: Wed Jul 24, 2019 10:12 pm
Has thanked: 7 times
Been thanked: 40 times

Return to C, C++


  • Related topics
    Last post