Debugging LUA Scripts

gcthompsongcthompson Join Date: 2009-03-19 Member: 66809Members
I've downloaded Lua binaries from <a href="http://luaforge.net/frs/download.php/2218/lua5_1_2_Win32_bin.zip" target="_blank">http://luaforge.net/frs/download.php/2218/...2_Win32_bin.zip</a> and the latest version of Decoda. I am trying to debug a simple script from decoda and have a breakpoint set on the first line.

My project settings are :

Command : C:\utils\Lua\Luac5.1.exe
Command Arguments : TestScript.lua
Working Directory : C:\development\lua\
Symbols Directory : c:\utils\Lua\

When debugging I get

Debugging session started
Warning 1001: 'C:\Utils\LUA\luac5.1.exe' appears to contain Lua functions however no Lua functions could located with the symbolic information
Warning 1000: Lua functions were not found during debugging session
Debugging session ended


from reading posts on the forum this should work because Lua5.1 is dynamically linked.

is this possible?

Cheers

Comments

  • MaxMax Technical Director, Unknown Worlds Entertainment Join Date: 2002-03-15 Member: 318Super Administrators, Retired Developer, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, Subnautica Developer, Pistachionauts, Future Perfect Developer
    You should be running your script with lua5.1.exe instead of luac5.1.exe (that's the compiler, not the interpreter). Let me know if you have any other problems.
Sign In or Register to comment.