Jump to content

Can We Have Line Numbers For LUA Errors?


Recommended Posts

I was going through the LUA Tute and saw it has a debugger, which tells you when you have an error which is great. The only problem is it doesn't tell you what line number the error is on.


So my request is can we have line numbers included in the error report?



Once a script starts to become large and complicated, no line numbers on the error messages, will make them very difficult to find.





--Register abstract path 


--Set graphics mode 
if Graphics(1024,768)==0 then 
Notify("Failed to set graphics mode.",1) 


if world==nil then 
Notify("Failed to initialize engine.",1) 



Win 7 Pro 64 bit

AMD Phenom II X3 720 2.8GHz

GeForce 9800 GTX/9800 GTX+


Link to comment
Share on other sites

Yay for no one looking at my debug.Trace library I posted a month or so ago?

52t__nvidia.png nVidia 530M cpu.gif Intel Core i7 - 2.3Ghz 114229_30245_16_hardware_memory_ram_icon.png 8GB DDR3 RAM Windows7_Start.gif Windows 7 Ultimate (64x)


IconVisualStudio16.png Visual Studio 2010 Ultimate google-Chrome.png Google Chrome PhotoshopLinkIndicator.png Creative Suite 5 icon28.gif FL Studio 10 MicrosoftOfficeLive.png Office 15


csharp.png Expert cpp.png Professional lua_icon.png Expert BMX Programmer



Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

This will be included in version 2.32. The main editor even gives debug info on crashes that occur during a Lua script execution.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...