Commit e0379979 authored by moshe weitzman's avatar moshe weitzman

added ddebug_backtrace() function which is a pretty print of the like named...

added ddebug_backtrace() function which is a pretty print of the like named php function which prints out the call stack.
parent 165ccf56
......@@ -52,6 +52,11 @@ function dprint_r($arr) {
print "</pre>";
}
// handy pretty print of call stack
function ddebug_backtrace($arr) {
dprint_r(debug_backtrace());
}
function devel_system($field) {
$system["description"] = t("Development helper functions");
return $system[$field];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment