0

How to find out which Lua function called my C++ function, if C++ function exported in scripts by luabind, using callstack in MVS?

Lobster
  • 635
  • 2
  • 12
  • 30

1 Answers1

0

You can use the functions lua_getstack and lua_getinfo to retrieve various useful debug information including the callstack.

atom0s
  • 485
  • 6
  • 22