How can I get the lua stack trace from a core file using gdb

后端 未结 4 953
北海茫月
北海茫月 2021-02-01 18:07

I have a C++ application (for OS X) that calls lua as a scripting language. I\'m running a large number of these applications (100s) and they can run for a very long time (days

4条回答
  •  爱一瞬间的悲伤
    2021-02-01 18:16

    Based on the comments above, I'd recommend the following article: Lua callstack with C++ debugger. It's giving a good overview about debugging the Lua / C++ combination, especially the section "Inspect Lua data structures" is helpful, when it comes to debugging of core dumps.

提交回复
热议问题