Example
So it will show the debug script of "Plugin1"
Code:
Debug.GetEventContext("Plugin1") Debug.GetTraceMode("Plugin1")
local tAllFiles=FindExtensions(sFolder, tExt) if tAllFiles then [COLOR=#FF0000]Debug.ShowWindow()[/COLOR] for i, sFile in pairs(tAllFiles) do [COLOR=#FF0000] Debug.Print(sFile.."\r\n")[/COLOR] end end
function DialogEx.Show(sDialogName, bParentCoordinates, nX, nY) assert(type(sDialogName) == "string", [COLOR=#FF0000]Debug.GetEventContext()[/COLOR].."\r\nArgument 1 must be of type string."); if not (bParentCoordinates) then bParentCoordinates = false; end local vRet = DialogEx_Show(sDialogName, bParentCoordinates, nX, nY); local vRet = DialogEx_Return; DialogEx_Return = nil; return vRet; end
Comment