Print the stack frames of the current execution thread of the program.
use backtrace::Backtrace;
let bt = Backtrace::new(); println!("{:?}", bt);
import "runtime/debug"
debug.PrintStack()
import GHC.Stack
msgStacktraced :: HasCallStack => String -> IO () msgStacktraced msg = putStrLn (msg ++ "\n" ++ prettyCallStack callStack)
console.trace()
dump_stack(stdout,0);
import inspect
for frame in inspect.stack(): print(frame)
puts caller
No security, no password. Other people might choose the same nickname.