Skip to content

mgerhardy/lua_stackdump

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

lua_stackdump

C/C++ header only helper to print lua stackdumps

There are still a few TODOs in the code - pull requests are welcome

Public Domain

Example output:

--------------------start-of-stacktrace----------------
index | details (4 entries)
-1    | [string ""]:10: attempt to concatenate a nil value (local 'deltaMillis') (string)
-2    | userdata [0x7d1000000750] (no metatable)
-3    | userdata [0x7d0c00000cb8] (no metatable)
-4    | table: 0x7d1000000640 (size: 5)
       \-- __newindex (string) = function [0x980c90]
       \-- __name (string)  = node (string)
       \-- __tostring (string) = function [0x980aa0]  (bad argument #1 to '?' (node expected, got no value))
       \-- __index (string) = table: 0x7d1000000640 (size: 5)
           \-- __newindex (string) = function [0x980c90]
           \-- __name (string) = node (string)
           \-- __tostring (string) = function [0x980aa0]  (bad argument #1 to '?' (node expected, got no value))
           \-- __index (string) = table: 0x7d1000000640 (size: 5)
           \-- execute (string) = function [0x7d0c00000c60]
       \-- execute (string) = function [0x7d0c00000c60]
----------------------end-of-stacktrace----------------

About

C header only helper to print lua stackdumps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages