Jump to content
  • Advertisement
Sign in to follow this  
AticAtac

Lua - Luabind - debugging

This topic is 3890 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, i use in my c/c++ (MSV 2005) project luabind to interface and execute external lua-files. Somewhere in my c/c++ program i call (with luabind::call_function<void>(lua, "SomeFunction"); a function in the script and the execution continues there. Now as you can imagine the script can be more or less complex and causes errors i would like to debug. So i am looking for debugging-solutions which allow me to continue debugging after the c/c++ code calls the script function. I know that there is "VSLua" which could that, but i would like to know if there are any free solutions there (also i wasn't able to get the trial version of vslua doing this). I am also interested in any (general) debugging help for lua (and luabind). thx in advance atic

Share this post


Link to post
Share on other sites
Advertisement
Sorry, forgot to mention that i also tried "decoda".
The problem i had with it was that it didn't stop at a breakpoint in the lua script code once the c++ code started and called a function in the script through luabind. The other direction, setting a breakpoint in the c++ code, where the function was called from lua worked.
My aim is to let the c++ code start and initialize some stuffs and then call a function in the lua script, from here i want to debug ...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!