Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (39 loc) · 1.39 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.39 KB

edebug

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

License

http://opensource.org/licenses/GPL-2.0 GPL2 - GNU General Public License, version 2 (GPL-2.0)

Howto use

  1. Install XHProf @see http://pecl.php.net/package/xhprof
  2. Copy /src/ to egroupware/edebug
  3. Setup EGroupware Applications and install edebug
  4. Add access edebug application to user or group in admin interface
  5. Go to settings and enable XHProf
  6. 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();
}

Screens











Helping the Project

Add new code or report bugs.

Contact

If you have questions please ask.

Stefan