Debug helping in EGroupware UI with implemented xhprof, analyse your code and see time of exec.
List view call URI and APP, with contextmenu you can see xhprof table and graph.
Xhprof Data write in VFS of EGroupware /app/edebug/{unid}/{unid}.xhprof
This project was created for my other project -> ewawi, elogin and eworkflow
http://opensource.org/licenses/GPL-2.0 GPL2 - GNU General Public License, version 2 (GPL-2.0)
- Install XHProf @see http://pecl.php.net/package/xhprof
- Copy /src/ to egroupware/edebug
- Setup EGroupware Applications and install edebug
- Add access edebug application to user or group in admin interface
- Go to settings and enable XHProf
- Add Lines to your code:
- Begin profiling:
if( $GLOBALS['egw_info']['user']['apps']['edebug'] ) {
edebug_bo::xhprof_enable();
}
- End profiling:
if( $GLOBALS['egw_info']['user']['apps']['edebug'] ) {
edebug_bo::xhprof_disable();
}
Add new code or report bugs.
If you have questions please ask.
Stefan