diff options
author | Andreas Gohr <andi@splitbrain.org> | 2016-02-27 10:44:12 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2016-02-27 10:44:12 +0100 |
commit | 545ab9c06a69c714e895582e20d5e06b02a8f128 (patch) | |
tree | 3e10ee875384f3e351fa2f34b1beb375f6efce6b /res/XDebugParser.php | |
parent | bf1e38abff698ecaa57bbea7e044539f56583c83 (diff) | |
download | xdebug-trace-tree-545ab9c06a69c714e895582e20d5e06b02a8f128.zip xdebug-trace-tree-545ab9c06a69c714e895582e20d5e06b02a8f128.tar.gz xdebug-trace-tree-545ab9c06a69c714e895582e20d5e06b02a8f128.tar.bz2 |
added file:line and a way to mark lines important
Diffstat (limited to 'res/XDebugParser.php')
-rw-r--r-- | res/XDebugParser.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/XDebugParser.php b/res/XDebugParser.php index 3cf2616..acb5046 100644 --- a/res/XDebugParser.php +++ b/res/XDebugParser.php @@ -92,6 +92,7 @@ class XDebugParser echo '<div class="f header">'; echo '<div class="func">Function Call</div>'; echo '<div class="data">'; + echo '<span class="file">File:Line</span>'; echo '<span class="timediff">ΔTime</span>'; echo '<span class="memorydiff">ΔMemory</span>'; echo '<span class="time">Time</span>'; @@ -128,6 +129,7 @@ class XDebugParser echo '</div>'; echo '<div class="data">'; + echo '<span class="file" title="'.htmlspecialchars($func['file'].':'.$func['line']).'">'.htmlspecialchars(basename($func['file']).':'.$func['line']).'</span>'; echo '<span class="timediff">' . sprintf('%f', $func['time.diff']) . '</span>'; echo '<span class="memorydiff">' . sprintf('%d', $func['memory.diff']) . '</span>'; echo '<span class="time">' . sprintf('%f', $func['time.enter']) . '</span>'; |