webmcp

view framework/env/request/process_forward.lua @ 29:0b7e87f2dc91

add trace.debug_traceback() function

It inserts a traceback into the trace debug log. Usefull on development of unknown code.
author Daniel Poelzleithner <poelzi@poelzi.org>
date Mon Sep 20 15:29:23 2010 +0200 (2010-09-20)
parents 9fdfb27f8e67
children
line source
1 --[[--
2 request.process_forward()
4 This function causes a previous call of request.forward{...} to be in effect. It is called automatically when neccessary, and must not be called explicitly by any application.
6 --]]--
8 function request.process_forward()
9 if request._forward then
10 request._forward_processed = true
11 trace.request{
12 module = request.get_module(),
13 view = request.get_view()
14 }
15 end
16 end

Impressum / About Us