Index: openacs-4/packages/xotcl-core/tcl/cr-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/cr-procs.tcl,v diff -u -r1.45 -r1.46 --- openacs-4/packages/xotcl-core/tcl/cr-procs.tcl 21 Feb 2011 13:12:05 -0000 1.45 +++ openacs-4/packages/xotcl-core/tcl/cr-procs.tcl 30 Mar 2012 09:12:33 -0000 1.46 @@ -157,7 +157,10 @@ } CrClass instproc unknown { obj args } { - my log "unknown called with $obj $args" + # When this happens, this is most likely an error. Ease debugging + # by writing the call stack to the error log. + ::xo::show_stack + my log "::xo::db::CrClass: unknown called with $obj $args" } #