jbe/bsw@0: --[[-- jbe/bsw@0: trace.enter_action{ jbe/bsw@0: module = module, jbe/bsw@0: action = action jbe/bsw@0: } jbe/bsw@0: jbe/bsw@0: This function is used by execute.action and logs the call of an action. jbe/bsw@0: jbe/bsw@0: --]]-- jbe/bsw@0: jbe/bsw@0: function trace.enter_action(args) jbe/bsw@0: local module = args.module jbe/bsw@0: local action = args.action jbe/bsw@0: if type(module) ~= "string" then jbe/bsw@0: error("No module string passed to trace.enter_action{...}.") jbe/bsw@0: end jbe/bsw@0: if type(action) ~= "string" then jbe/bsw@0: error("No action string passed to trace.enter_action{...}.") jbe/bsw@0: end jbe/bsw@0: trace._open_section{ type = "action", module = module, action = action } jbe/bsw@0: end