Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 31, 2010, 12:04:30 AM (14 years ago)
Author:
rgrieder
Message:

Improved Lua error handling: Clearer messages and debugger hook.
So, if the IOConsole is not running and a runtime error occurs, the lua debugger automatically gets started.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/data/lua/Debugger.lua

    r6626 r6660  
    433433
    434434  -- Transform line endings to \n
    435   text :gsub("\r\n", "\n") -- Windows to Unix
     435  text:gsub("\r\n", "\n") -- Windows to Unix
    436436  text:gsub("\r", "\n")   -- Mac to Unix
    437437  if text[-1] ~= "\n" then
Note: See TracChangeset for help on using the changeset viewer.