<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 9:55 AM, Hans Bracker <span dir="ltr"><<a href="mailto:design@softflow.co.uk" target="_blank">design@softflow.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":49a" class="a3s" style="overflow:hidden">Could  PmWiki  be more specific to identify in which function call and<br>
script offending regular expressions reside? </div></blockquote></div><br>It occurs to me that the stopwatch() function could be modified to respond to a variable $EnableDebugStackTrace and then spread throughout the code a little more widely (always at the begin and exit point of key functions) and it could be constantly updating a stacktrace which could then be printed off in an error handler...</div><div class="gmail_extra"><br></div><div class="gmail_extra">I recognize there's lots of "could be" statements scattered around up there and no practical code to make it happen, but I think the potential is there...</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Peter</div></div>