|
: 21 : 21 : 0 |
On error, produce a 'core dump' of all defined variables, objects, and a call trace.
The 'core dump' might provide a limited (one-level) listing of defined objects with their property values, and all local and global variable values. Going down more than one level might end up with a huge amount of data but potentially there could be some provision for determining depth of trace.
It should also show the line where the error occurred.
An ordered trace of function calls would also be useful.
I've tried writing something to do this but got completely stuck trying to get a list of defined objects and variable names.
|