Closed Pfarrer closed 9 years ago
I don't see how is the calling file and line number important. Usually when you do a var_dump of a variable, you already have the file open at the position where you make the call...
I use it a lot to find the place where I called the debug function. Usually I work in bigger software like Moodle and, therefore, I place multiple debugs at the same time in different (huge) files. Are there any disadvantages of having backtrace information?
In each Debug header... is the filename and linenumber of the calling file shown. Example:
> array($value, $boundary, $a, $b) - /home/.../lib/gradelib.php(783)