function myfunction () print(debug.traceback("Stack trace")) print(debug.getinfo(1)) print("Stack trace end") return 10 end myfunction () print(debug.getinfo(1))
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more