cvs: presentations / xdebug-oscom4.xml /slides/perf ezp.css tracefile.png xgui.png /slides/xdebug ccoverage-end.png ccoverage1.xml ccoverage2.xml
ccoverage3.xml functiontrace-computerized.xml functiontrace-file.xml infinite.xml local-vars.xml local-vars2.png local-vars2.xml questions.xml
resources.xml stacktrace.xml stacktrace2.png superglobals.png superglobals.xml survey.xml tracefile-computerized.png var_dump.png xgui.xml

From: Date: Tue, 31 Aug 2004 06:49:37 +0000
Subject: cvs: presentations / xdebug-oscom4.xml /slides/perf ezp.css tracefile.png xgui.png /slides/xdebug ccoverage-end.png ccoverage1.xml ccoverage2.xml
ccoverage3.xml functiontrace-computerized.xml functiontrace-file.xml infinite.xml local-vars.xml local-vars2.png local-vars2.xml questions.xml
resources.xml stacktrace.xml stacktrace2.png superglobals.png superglobals.xml survey.xml tracefile-computerized.png var_dump.png xgui.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1047@lists.php.net to get a copy of this message
derick Tue Aug 31 02:49:37 2004 EDT Added files: /presentations xdebug-oscom4.xml /presentations/slides/xdebug ccoverage-end.png ccoverage1.xml ccoverage2.xml ccoverage3.xml functiontrace-computerized.xml local-vars2.png local-vars2.xml stacktrace2.png superglobals.png superglobals.xml survey.xml tracefile-computerized.png xgui.xml Modified files: /presentations/slides/perf ezp.css tracefile.png xgui.png /presentations/slides/xdebug functiontrace-file.xml infinite.xml local-vars.xml questions.xml resources.xml stacktrace.xml var_dump.png Log: - Added the first OSCOM presentation

http://cvs.php.net/diff.php/presentations/slides/perf/ezp.css?r1=1.4&r2=1.5&ty=u Index: presentations/slides/perf/ezp.css diff -u presentations/slides/perf/ezp.css:1.4 presentations/slides/perf/ezp.css:1.5 --- presentations/slides/perf/ezp.css:1.4 Sat Aug 28 08:08:30 2004 +++ presentations/slides/perf/ezp.css Tue Aug 31 02:49:36 2004 @@ -61,6 +61,16 @@ font-size: 24px; } +div.large_blurb { + font-size: 32px; +} + +div.q_mark { + text-align: center; + margin-left: 250px; + font-size: 480px; +} + div.shadow, code { font-size: 18px; width: 640px; } http://cvs.php.net/diff.php/presentations/slides/perf/tracefile.png?r1=1.1&r2=1.2&ty=u Index: presentations/slides/perf/tracefile.png http://cvs.php.net/diff.php/presentations/slides/perf/xgui.png?r1=1.1&r2=1.2&ty=u Index: presentations/slides/perf/xgui.png http://cvs.php.net/diff.php/presentations/slides/xdebug/functiontrace-file.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/xdebug/functiontrace-file.xml diff -u presentations/slides/xdebug/functiontrace-file.xml:1.3 presentations/slides/xdebug/functiontrace-file.xml:1.4 --- presentations/slides/xdebug/functiontrace-file.xml:1.3 Thu Jun 17 08:12:03 2004 +++ presentations/slides/xdebug/functiontrace-file.xml Tue Aug 31 02:49:36 2004 @@ -3,12 +3,11 @@ <title>Execution trace to file</title> <image filename="../perf/tracefile.png" align="right"/> - <example fontsize="1.7em">xdebug.auto_trace=1 ; enable tracing + <example class="code_large" fontsize="1.7em">xdebug.auto_trace=1 ; enable tracing xdebug.trace_output_dir=/tmp ; trace output directory xdebug.trace_output_name=crc32 ; tracefile extension xdebug.collect_params=0 ; parameter collection xdebug.collect_includes=1 ; collecting includes -xdebug.extended_info=0 ; 'extended' code - ; generation +xdebug.extended_info=0 ; extended code generation xdebug.show_mem_delta=1 ; memory difference</example> </slide> http://cvs.php.net/diff.php/presentations/slides/xdebug/infinite.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/xdebug/infinite.xml diff -u presentations/slides/xdebug/infinite.xml:1.2 presentations/slides/xdebug/infinite.xml:1.3 --- presentations/slides/xdebug/infinite.xml:1.2 Thu Jun 17 08:12:03 2004 +++ presentations/slides/xdebug/infinite.xml Tue Aug 31 02:49:36 2004 @@ -5,4 +5,8 @@ <image filename="infinite.png" align="right"/> + <example class="code_large" fontsize="1.7em"> + +xdebug.max_nesting_level=4</example> + </slide> http://cvs.php.net/diff.php/presentations/slides/xdebug/local-vars.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/xdebug/local-vars.xml diff -u presentations/slides/xdebug/local-vars.xml:1.3 presentations/slides/xdebug/local-vars.xml:1.4 --- presentations/slides/xdebug/local-vars.xml:1.3 Sat Aug 28 08:06:01 2004 +++ presentations/slides/xdebug/local-vars.xml Tue Aug 31 02:49:36 2004 @@ -1,11 +1,10 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Local variables</title> - <break lines="3" /> <image filename="local-vars.png" align="center"/> <break lines="3" /> - <example class="code_large">; enable showing local vars in in error messages + <example class="code_large">; enable showing local vars in error messages xdebug.show_local_vars=1</example> </slide> http://cvs.php.net/diff.php/presentations/slides/xdebug/questions.xml?r1=1.4&r2=1.5&ty=u Index: presentations/slides/xdebug/questions.xml diff -u presentations/slides/xdebug/questions.xml:1.4 presentations/slides/xdebug/questions.xml:1.5 --- presentations/slides/xdebug/questions.xml:1.4 Thu Jun 17 03:58:37 2004 +++ presentations/slides/xdebug/questions.xml Tue Aug 31 02:49:36 2004 @@ -2,6 +2,5 @@ <slide fontsize="6em"> <title>Questions</title> - <break lines="10"/> - <blurb align="center" marginleft="0" marginright="0" fontsize="18em">?</blurb> + <blurb class="q_mark">?</blurb> </slide> http://cvs.php.net/diff.php/presentations/slides/xdebug/resources.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/xdebug/resources.xml diff -u presentations/slides/xdebug/resources.xml:1.3 presentations/slides/xdebug/resources.xml:1.4 --- presentations/slides/xdebug/resources.xml:1.3 Thu Jun 17 08:12:03 2004 +++ presentations/slides/xdebug/resources.xml Tue Aug 31 02:49:36 2004 @@ -4,8 +4,8 @@ <image align="center" filename="xdebug-logo.png" /> - <link fontsize="3em" marginleft="2em" leader="Xdebug site: " href="xdebug.org" target="_new"/> - <link fontsize="3em" marginleft="2em" leader="DBGp specification: " href="xdebug.org/docs-dbgp.php" target="_new"/> + <link fontsize="3em" marginleft="2em" leader="Xdebug site: " href="http://xdebug.org" target="_new"/> + <link fontsize="3em" marginleft="2em" leader="DBGp specification: " href="http://xdebug.org/docs-dbgp.php" target="_new"/> <link fontsize="3em" marginleft="2em" leader="Questions?: " href="derick@xdebug.org" target="_new"/> </slide> http://cvs.php.net/diff.php/presentations/slides/xdebug/stacktrace.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/xdebug/stacktrace.xml diff -u presentations/slides/xdebug/stacktrace.xml:1.2 presentations/slides/xdebug/stacktrace.xml:1.3 --- presentations/slides/xdebug/stacktrace.xml:1.2 Thu Jun 17 08:12:03 2004 +++ presentations/slides/xdebug/stacktrace.xml Tue Aug 31 02:49:36 2004 @@ -2,6 +2,6 @@ <slide fontsize="6em"> <title>Stacktrace</title> - <image filename="stacktrace.png" align="right"/> + <image filename="stacktrace2.png" align="right"/> </slide> http://cvs.php.net/diff.php/presentations/slides/xdebug/var_dump.png?r1=1.2&r2=1.3&ty=u Index: presentations/slides/xdebug/var_dump.png http://cvs.php.net/co.php/presentations/xdebug-oscom4.xml?r=1.1&p=1 Index: presentations/xdebug-oscom4.xml +++ presentations/xdebug-oscom4.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/perf/ezp.css" backgroundfixed="1" > <topic>Debugging</topic> <title>Efficient debugging</title> <event>OSCOM 4</event> <location>Zürich, Switserland</location> <date>September 30th, 2004</date> <speaker>Derick Rethans</speaker> <email>derick@php.net</email> <url>http://pres.derickrethans.nl/xdebug-oscom4</url> <slide>slides/xdebug/title.xml</slide> <!-- INTRODUCTION --> <slide>slides/xdebug/questions.xml</slide> <slide>slides/xdebug/survey.xml</slide> <slide>slides/xdebug/how-started.xml</slide> <!-- BASIC STUFF --> <slide>slides/xdebug/infinite.xml</slide> <slide>slides/xdebug/vardump.xml</slide> <slide>slides/xdebug/stacktrace.xml</slide> <slide>slides/xdebug/local-vars2.xml</slide> <!-- SUPER GLOBALS --> <slide>slides/xdebug/superglobals.xml</slide> <!-- TRACING --> <slide>slides/xdebug/functiontrace-file.xml</slide> <slide>slides/xdebug/vim.xml</slide> <slide>slides/xdebug/functiontrace-computerized.xml</slide> <slide>slides/xdebug/xgui.xml</slide> <!-- PROFILING --> <slide>slides/xdebug/profiling.xml</slide> <slide>slides/xdebug/profiling2.xml</slide> <!-- CODE COVERAGE --> <slide>slides/xdebug/ccoverage1.xml</slide> <slide>slides/xdebug/ccoverage2.xml</slide> <slide>slides/xdebug/ccoverage3.xml</slide> <!-- REMOTE INTERFACES --> <slide>slides/xdebug/interfaces.xml</slide> <slide>slides/xdebug/gdb.xml</slide> <slide>slides/xdebug/gdb-xml.xml</slide> <slide>slides/xdebug/dbgp.xml</slide> <!-- END --> <slide>slides/xdebug/about.xml</slide> <slide>slides/xdebug/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/xdebug/ccoverage1.xml?r=1.1&p=1 Index: presentations/slides/xdebug/ccoverage1.xml +++ presentations/slides/xdebug/ccoverage1.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Code Coverage - Testfile</title> <blurb>Function to test (bigassfunction.php):</blurb> <example><![CDATA[<?php function test_parse_time($f) { if (preg_match("/[0-9]{12}/", $f)) { $type = "YYYYMMDDHHii"; } else if (preg_match("/[0-9]{8}\ [0-9]{4}/", $f)) { $type = "YYYYMMDD HHii"; } else if (preg_match("/[0-9]{4}-[0-9]{2}-[0-9]{2}/", $f)) { $type = "YYYY-MM-DD"; } else { $type = "*unknown*"; } echo "This is a $type format.\n"; } ?>]]></example> <break /> <blurb>Test driver (basic.t):</blurb> <example><![CDATA[<?php $text = realpath("tests/bigassfunction.php"); include $text; $formats = array('2004-08-17 21:20', '20040817 2120'); foreach ($formats as $format) { test_parse_time($format); } ?>]]></example> <break /> </slide> http://cvs.php.net/co.php/presentations/slides/xdebug/ccoverage2.xml?r=1.1&p=1 Index: presentations/slides/xdebug/ccoverage2.xml +++ presentations/slides/xdebug/ccoverage2.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Code Coverage - Test Application</title> <blurb>Test program:</blurb> <example><![CDATA[<?php echo "Output:\n\n"; xdebug_start_code_coverage(); include 'tests/basic.t'; $cc = xdebug_get_code_coverage(); xdebug_stop_code_coverage(); $clean = array(); $clean[$test] = $cc[$test]; foreach ($clean as $file => $cc) { echo "<pre>"; $fc = file($file); $line_nos = array_keys($cc); foreach ($fc as $ln => $line) { if (in_array($ln + 1, $line_nos)) { $bgc = "aaaaaa"; } else { $bgc = "dddddd"; } echo "<div style='background-color: #$bgc'>"; echo @sprintf("%3d [%2d]:\t", $ln + 1, $cc[$ln + 1]); echo htmlspecialchars($line); echo "</div>"; } echo "</pre>"; } ?>]]></example> <break /> </slide> http://cvs.php.net/co.php/presentations/slides/xdebug/ccoverage3.xml?r=1.1&p=1 Index: presentations/slides/xdebug/ccoverage3.xml +++ presentations/slides/xdebug/ccoverage3.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Code Coverage - Result</title> <image align="right" filename="ccoverage-end.png"/> <blurb> xdebug_start_code_coverage() -- starts collecting data xdebug_stop_code_coverage() -- stops collecting data xdebug_get_code_coverage() -- returns coverage data </blurb> </slide> http://cvs.php.net/co.php/presentations/slides/xdebug/functiontrace-computerized.xml?r=1.1&p=1 Index: presentations/slides/xdebug/functiontrace-computerized.xml +++ presentations/slides/xdebug/functiontrace-computerized.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Execution trace to file (computerized)</title> <image filename="tracefile-computerized.png"/> <break/> <example class="code_large" fontsize="1.7em">xdebug.auto_trace=1 ; enable tracing xdebug.trace_format=1 ; selects computerized format xdebug.trace_options=0 ; sets extra option (1 = append)</example> </slide> http://cvs.php.net/co.php/presentations/slides/xdebug/local-vars2.xml?r=1.1&p=1 Index: presentations/slides/xdebug/local-vars2.xml +++ presentations/slides/xdebug/local-vars2.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Local variables</title> <image filename="local-vars2.png" align="right"/> <break lines="3" /> <example class="code_large">; enable showing local vars in error messages xdebug.show_local_vars=1</example> </slide> http://cvs.php.net/co.php/presentations/slides/xdebug/superglobals.xml?r=1.1&p=1 Index: presentations/slides/xdebug/superglobals.xml +++ presentations/slides/xdebug/superglobals.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Superglobals</title> <image filename="superglobals.png" align="right"/> <example class="code_large">; show all GET variables in error messages xdebug.dump.GET=* ; show the login and password POST variables xdebug.dump.POST=login,password ; show the PHP's session cookie xdebug.dump.COOKIE=PHPSESSID</example> </slide> http://cvs.php.net/co.php/presentations/slides/xdebug/survey.xml?r=1.1&p=1 Index: presentations/slides/xdebug/survey.xml +++ presentations/slides/xdebug/survey.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Questions - to you</title> <blurb class="large_blurb">Who...</blurb> <list> <bullet effect="hide">did never hear about |ff0000|PHP|?</bullet> <bullet effect="hide">wrote PHP applications &gt; |00ff00|10k| LOC?</bullet> <bullet effect="hide">wrote PHP applications &gt; |ff8000|50k| LOC?</bullet> <bullet effect="hide">knows the answer of the meaning of life, the universe and everything?</bullet> <bullet effect="hide">wrote PHP applications &gt; |ff0000|100k| LOC?</bullet> <bullet effect="hide">uses Xdebug?</bullet> <bullet effect="hide">is bored of these questions?</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/xdebug/xgui.xml?r=1.1&p=1 Index: presentations/slides/xdebug/xgui.xml +++ presentations/slides/xdebug/xgui.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>xGUI frontend</title> <break/> <image align="right" filename="../perf/xgui.png"/> <break lines="24"/> <blurb>Still in development, and not yet public.</blurb> <blurb>Qt, multi-platform (Linux, MacOSX, Windows).</blurb> </slide>
« previous php.pres (#1047) next »