lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I am trying to create a debug function which shows what is currently
> on the stack, since it is a debug function and wont end up in a
> release build, i decided to dive in to the guts of Lua.
> 
> See here, my testing program for the debug function simple_dump:
> 
> 	[...]
> 
> So, am i doing something which i simply should not be doing,
> debugging or otherwise, or is there truly something screwy going on?

In a quick inspection I did not find anything wrong with the code. Did
you print the type numbers of those offending values? You could also
remove the "#ifdef" and print both types/values (external view and
internal view); that may throw some light into the problem.

-- Roberto