Page 1 of 1

print call stack in C / C++

PostPosted: Wed Nov 16, 2022 12:41 am
by valeca
Is there any way to print the call stack in a running process every time a certain function is called?
Thanks.

Re: print call stack in C / C++

PostPosted: Wed Nov 16, 2022 8:31 pm
by sergeyken
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).