view mod_traceback/README.markdown @ 3922:ea59c9455f93

mod_rest: Move dataforms into structure for more logical code order Needs that `local x; x = ...` trick to make the mapping table be in scope for all the inner functions.
author Kim Alvefur <zash@zash.se>
date Fri, 28 Feb 2020 22:24:49 +0100
parents db0f654b9b3f
children
line wrap: on
line source

This module writes out a traceback to `traceback.txt` in Prosodys data
directory (see `prosodyctl about`) when the signal `SIGUSR1` is
received. This is useful when debugging seemingly frozen instances in
case it is stuck in Lua code.