cvs: presentations / xdebug-vancouver.xml /slides/srm style.css /slides/xdebug about.xml client-macosx.xml client-studio.xml client-xdebugc.xml
execute.png execute.xml gathering-data.xml hooks.jpg hooks1.xml hooks2.xml sim6a.jpg studio.png xdebug_gui_osx.jpg xdebugc.png
| From: | Derick Rethans | Date: | Tue, 22 Jul 2003 20:46:12 +0000 |
| Subject: | cvs: presentations / xdebug-vancouver.xml /slides/srm style.css /slides/xdebug about.xml client-macosx.xml client-studio.xml client-xdebugc.xml execute.png execute.xml gathering-data.xml hooks.jpg hooks1.xml hooks2.xml sim6a.jpg studio.png xdebug_gui_osx.jpg xdebugc.png |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-812@lists.php.net to get a copy of this message | ||
derick Tue Jul 22 16:46:12 2003 EDT
Added files:
/presentations xdebug-vancouver.xml
/presentations/slides/xdebug about.xml client-macosx.xml
client-studio.xml client-xdebugc.xml
execute.png execute.xml
gathering-data.xml hooks.jpg
hooks1.xml hooks2.xml sim6a.jpg
studio.png xdebug_gui_osx.jpg
xdebugc.png
Modified files:
/presentations/slides/srm style.css
Log:
- Add a minimal Xdebug presentation
Index: presentations/slides/srm/style.css
diff -u presentations/slides/srm/style.css:1.1 presentations/slides/srm/style.css:1.2
--- presentations/slides/srm/style.css:1.1 Fri Mar 28 10:11:24 2003
+++ presentations/slides/srm/style.css Tue Jul 22 16:46:11 2003
@@ -4,7 +4,6 @@
margin-left:1.5em;
margin-right:0em;
margin-bottom:0em;
- background-image: url(presentations/slides/srm/cray.jpg);
}
ul {
padding-top: 20;
Index: presentations/xdebug-vancouver.xml
+++ presentations/xdebug-vancouver.xml
<presentation
template="php"
navmode="html"
navbarbackground="#3C5BB4"
stylesheet="presentations/slides/srm/style.css"
backgroundfixed="1" >
<topic>Internals</topic>
<title>Xdebug in a nutshell</title>
<event>Vancouver PHP User Group meeting</event>
<location>Vancouver, Canada</location>
<date>July 31st, 2003</date>
<speaker>Derick Rethans</speaker>
<email>d.rethans@jdimedia.nl</email>
<url>http://pres.derickrethans.nl/xdebug-vancouver</url>
<slide>slides/ze-xdebug/title.xml</slide>
<slide>slides/xdebug/about.xml</slide>
<slide>slides/xdebug/cb-dump.xml</slide>
<slide>slides/xdebug/trace.xml</slide>
<slide>slides/xdebug/profile.xml</slide>
<slide>slides/xdebug/gathering-data.xml</slide>
<slide>slides/xdebug/hooks1.xml</slide>
<slide>slides/xdebug/execute.xml</slide>
<slide>slides/xdebug/hooks2.xml</slide>
<slide>slides/xdebug/client-xdebugc.xml</slide>
<slide>slides/xdebug/client-macosx.xml</slide>
<slide>slides/xdebug/client-studio.xml</slide>
</presentation>
Index: presentations/slides/xdebug/about.xml
+++ presentations/slides/xdebug/about.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Xdebug</title>
<blurb> </blurb>
<list fontsize="4.5em">
<bullet>Stacktraces</bullet>
<bullet>Functiontraces</bullet>
<bullet marginleft="2em">parameters to functions</bullet>
<bullet marginleft="2em">function/methodname, classname</bullet>
<bullet marginleft="2em">file:line locations</bullet>
<bullet marginleft="2em">memory allocation</bullet>
<bullet>Profiling</bullet>
<bullet>Script execution analysis</bullet>
</list>
</slide>
Index: presentations/slides/xdebug/client-macosx.xml
+++ presentations/slides/xdebug/client-macosx.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>MacOSX Client</title>
<blurb> </blurb>
<image align="center" filename="xdebug_gui_osx.jpg"/>
</slide>
Index: presentations/slides/xdebug/client-studio.xml
+++ presentations/slides/xdebug/client-studio.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Maguma Studio</title>
<blurb> </blurb>
<image align="center" filename="studio.png"/>
</slide>
Index: presentations/slides/xdebug/client-xdebugc.xml
+++ presentations/slides/xdebug/client-xdebugc.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>XdebugC</title>
<blurb> </blurb>
<image align="center" filename="xdebugc.png"/>
</slide>
Index: presentations/slides/xdebug/execute.xml
+++ presentations/slides/xdebug/execute.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Execution</title>
<blurb> </blurb>
<image align="center" filename="execute.png"/>
</slide>
Index: presentations/slides/xdebug/gathering-data.xml
+++ presentations/slides/xdebug/gathering-data.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Gathering data</title>
<break lines="5"/>
<list marginleft="0em" fontsize="4em">
<bullet>By hooking into the execution of functions</bullet>
<bullet>By reading the memory usage</bullet>
<bullet>By scanning compiled code (for used vars)</bullet>
<bullet>By remembering locations of variables</bullet>
</list>
<image align="right" marginright="2em" filename="sim6a.jpg"/>
</slide>
Index: presentations/slides/xdebug/hooks1.xml
+++ presentations/slides/xdebug/hooks1.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Engine hooks</title>
<blurb> </blurb>
<blurb> </blurb>
<list fontsize="5em">
<bullet>Xdebug hooks into these events:</bullet>
</list>
<image align="left" marginright="2em" filename="hooks.jpg"/>
<list fontsize="4em" marginleft="1em">
<bullet>Executing user defined function</bullet>
<bullet>Executing internal function</bullet>
<bullet>Compiling a file</bullet>
</list>
<list fontsize="4em" marginleft="2em">
<bullet>Executing a statement</bullet>
</list>
</slide>
Index: presentations/slides/xdebug/hooks2.xml
+++ presentations/slides/xdebug/hooks2.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>zend_execute hook</title>
<blurb> </blurb>
<blurb> </blurb>
<blurb> </blurb>
<example fontsize="1.4em"><![CDATA[
void (*old_execute)(zend_op_array *op_array TSRMLS_DC);
void xdebug_execute(zend_op_array *op_array TSRMLS_DC);
PHP_MINIT_FUNCTION(xdebug) {
old_execute = zend_execute;
zend_execute = xdebug_execute;
return SUCCESS;
}
PHP_MSHUTDOWN_FUNCTION(xdebug) {
zend_execute = old_execute;
return SUCCESS;
}
void xdebug_execute(zend_op_array *op_array TSRMLS_DC)
{
printf ("Executing in file %s\n", op_array->filename);
old_execute (op_array TSRMLS_CC);
}
]]></example>
</slide>