Skip to main content
gamedev.net
🔒 Locked

LuaPlus - runtime error/exception handling

Started by MGB 2 replies 2.3k views
Original Post
MGB
MGB
Hi people, I'm calling lua functions from my C++ app via LuaPlus using a LuaFunction object. If the lua code contains any errors I get an exception with a description string of "0", which isn't too helpful really. If I run the function via DoString I get a normal error report string on the stack top as per vanilla Lua. Anyone have any experience with LuaPlus/exception handling at all?
MGB
MGB
Damn. There doesn't seem to be anyone left on the planet using LuaPlus... Knew I should have gone with Squirrel ;)
MGB
MGB
Yeah it might be time to try LuaBind... (I was hoping to not depend on Boost, but I'm thinking more and more 'why the hell not'...)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.