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

Debug helping in EGroupware UI with implemented xhprof

License

Notifications You must be signed in to change notification settings

HWOldCode/edebug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Debug helping in EGroupware UI with implemented xhprof

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages