Example #1
0
        public LuaDebugApp()
        {
            m_Lua = new Lua();
             m_Lua.HookException += Lua_HookException;
             m_Debugger = new LuaDebugger(m_Lua);
             m_Debugger.FullTraceData += Debugger_FullTraceData;
             m_Debugger.Stoping += Debugger_Stoping;
             m_Debugger.WaitingForAction += Debugger_WaitingForAction;

             m_Debugger.Enabled = true;
        }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="debugger">Debugger</param>
 /// <param name="fileName">Filename</param>
 public LuaDebugFile(LuaDebugger debugger, string fileName)
 {
     Debugger = debugger;
     FileName = fileName;
 }
 /// <summary>
 /// Creates the default implementation of the LuaDebugFile.
 /// </summary>
 /// <param name="debugger">Debugger.</param>
 /// <param name="fileName">Filename.</param>
 /// <returns>Returns the new LuaDebugFile.</returns>
 LuaDebugFile ILuaDebugFileFactory.CreateFile(LuaDebugger debugger, string fileName)
 {
     return new LuaDebugFile(debugger, fileName);
 }
Example #4
0
 /// <summary>
 /// Creates the default implementation of the LuaDebugFile.
 /// </summary>
 /// <param name="debugger">Debugger.</param>
 /// <param name="fileName">Filename.</param>
 /// <returns>Returns the new LuaDebugFile.</returns>
 LuaDebugFile ILuaDebugFileFactory.CreateFile(LuaDebugger debugger, string fileName)
 {
     return(new LuaDebugFile(debugger, fileName));
 }