How to debug Lua code using Visual Studio

3.1k Views Asked by At

I have a win32 application and this is linked with Lua files. Both Lua and C++ files have bi-directional communication and can invoke function within each other.

I wanted to debug Lua code from Visual Studio IDE likewise what we do for C++ code. I have installed "BabeLua For 2012 V3.2.2.0" extension, but not able to debug...

I simply created a break point in Lua file and attached the code to my Win32 application, but it says that "No symbols have been loaded".

Please help me to understand where does the symbol files resides for Lua, or is there any other intuitive way to debug Lua scripts..

Any help will be greatly appreciated...

1

There are 1 best solutions below

2
On

is there any other intuitive way to debug LUA scripts.

You may try ZeroBrane Studio IDE, which supports debugging of Lua scripts included in other applications. See the remote debugging section in the documentation for details and examples.