com presentations: Dresden talks: slides/xdebug/debugger-browser-extensions.xml slides/xdebug/vld-path-4-output.xml templates/default/iframe.ezt xdebug-dresden19.xml xdebug-workshop-dresden19.xml
[email protected] (Derick Rethans) Thu, 17 Oct 2019 09:34:30 +0000
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: b928151a62829ffebad6e01738daa166d0373502 Author: Derick Rethans <[email protected]> Thu, 17 Oct 2019 10:34:30 +0100 Parents: 0190a467dacdb947366b509f14c4ba055019cc48 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=b928151a62829ffebad6e01738daa166d0373502 Log: Dresden talks Changed paths: M slides/xdebug/debugger-browser-extensions.xml M slides/xdebug/vld-path-4-output.xml M templates/default/iframe.ezt M xdebug-dresden19.xml A xdebug-workshop-dresden19.xml Diff: diff --git a/slides/xdebug/debugger-browser-extensions.xml b/slides/xdebug/debugger-browser-extensions.xml index 49161fcf..ab991eaa 100644 --- a/slides/xdebug/debugger-browser-extensions.xml +++ b/slides/xdebug/debugger-browser-extensions.xml @@ -1,8 +1,8 @@ -<slide style="white" background="bugs.jpg"> +<slide> <title>Activating the Step Debugger</title> <blurb>With browser extensions:</blurb> - <blurb>Firefox:<br/><link href="https://addons.mozilla.org/en-gb/firefox/tag/xdebug"/></blurb> - <blurb>Xdebug Helper (Chrome):<br/><link href="https://chrome.google.com/extensions/detail/eadndfjplgieldjbigjakmdgkmoaaaoc"/></blurb> - <blurb>Xdebug Toggler for Safari:<br/><link href="https://github.com/benmatselby/xdebug-toggler"/></blurb> + <blurb>Firefox:<br/>https://addons.mozilla.org/en-gb/firefox/tag/xdebug</blurb> + <blurb>Xdebug Helper (Chrome):<br/>https://chrome.google.com/extensions/detail/eadndfjplgieldjbigjakmdgkmoaaaoc</blurb> + <blurb>Xdebug Toggler for Safari:<br/>https://github.com/benmatselby/xdebug-toggler</blurb> </slide> diff --git a/slides/xdebug/vld-path-4-output.xml b/slides/xdebug/vld-path-4-output.xml index 6ad1091d..1963557f 100644 --- a/slides/xdebug/vld-path-4-output.xml +++ b/slides/xdebug/vld-path-4-output.xml @@ -1,6 +1,6 @@ <slide> <title>Xdebug code coverage output</title> -<iframe filename="examples/code-coverage-report/test.php.html"/> +<iframe width="1431" filename="examples/code-coverage-report/test.php.html"/> </slide> diff --git a/templates/default/iframe.ezt b/templates/default/iframe.ezt index 0c5b6115..3b87871f 100644 --- a/templates/default/iframe.ezt +++ b/templates/default/iframe.ezt @@ -18,6 +18,6 @@ {$height = $height / $zoom} {$width = $width / $zoom} {if $attr}<div{if $align} align='{$align}'{/if}>{/if} -<iframe style="zoom={$zoom}; -moz-transform: scale({$zoom}); -moz-transform-origin: 0 0; clear: both; background-color: #fff; margin-left: 9px;" scrolling="{$scrolling}" frameborder="0" width="{$width}" height="{$height}" {if $inline}class='inline' {/if}{if $align}align='{$align}' {/if}src='{$source}'></iframe> +<iframe style="zoom={$zoom}; -moz-transform: scale({$zoom}); -moz-transform-origin: 0 0; clear: both; background-color: #fff; scrolling="{$scrolling}" frameborder="0" width="{$width}" height="{$height}" {if $inline}class='inline' {/if}{if $align}align='{$align}' {/if}src='{$source}'></iframe> <!--<img src="{$pres->base}{get_attribute( $node, 'image' )}"/>--> {if $attr}<span class='attribution'>{$attr}</span></div>{/if} diff --git a/xdebug-dresden19.xml b/xdebug-dresden19.xml index c280950d..d0dc0652 100644 --- a/xdebug-dresden19.xml +++ b/xdebug-dresden19.xml @@ -9,7 +9,7 @@ <email>[email protected]</email> <twitter>derickr</twitter> <url>https://derickrethans.nl/talks/xdebug-dresden19</url> -<joindin>https://derickrethans.nl/talks/xdebug-dresden19</joindin> +<joindin></joindin> <slide>slides/xdebug/title.xml</slide> <slide>slides/mongodb/me.xml</slide> diff --git a/xdebug-workshop-dresden19.xml b/xdebug-workshop-dresden19.xml new file mode 100644 index 00000000..1a3617cf --- /dev/null +++ b/xdebug-workshop-dresden19.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<presentation css="derick.css"> +<topic>Debugging</topic> +<title>Xdebug Workshop</title> +<event>PHP UserGroup Dresden</event> +<location>Dresden, Germany</location> +<date>October 4th, 2019</date> +<speaker>Derick Rethans</speaker> +<email>[email protected]</email> +<twitter>derickr</twitter> +<url>https://derickrethans.nl/talks/xdebug-workshop-dresden19</url> +<joindin></joindin> +<slide>slides/xdebug/title.xml</slide> +<slide>slides/mongodb/me.xml</slide> + +Morning - Xdebug essentials: +- Setup fur (remote) debugging via web requests and CLI (in PHPStorm) +- Usage of breakpoints (with conditionals) +- What is debuggable with Xdebug and what is not + +<slide>slides/xdebug/step-debugging.xml</slide> +<slide>slides/xdebug/debugger-activation.xml</slide> +<slide>slides/xdebug/debugger-browser-extensions.xml</slide> +<slide>slides/xdebug/dbgp-connection.xml</slide> +<slide>slides/xdebug/port9000.xml</slide> + +<slide>slides/xdebug/xdebug-2.6-new-dbgp.xml</slide> +<slide>slides/xdebug/debugger-connection-log.xml</slide> +<slide>slides/xdebug/breakpoints-2.xml</slide> + + +<slide>slides/xdebug/phpstorm.xml</slide> +<slide>slides/mongodb/excercise.xml</slide> + +- Stack & Function Traces +<slide>slides/xdebug/functiontrace-computerized.xml</slide> +<slide>slides/xdebug/functiontrace-summary.xml</slide> +<slide>slides/mongodb/excercise.xml</slide> + +Afternoon - Xdebug advanced: +- Understanding code coverage output / reports +- Code Coverage Whitelist Filter and how to use it with PHPUnit +- Garbage Collection Stats + +<slide>slides/xdebug/paths.xml</slide> + +<slide>slides/xdebug/vld-path-4-code.xml</slide> +<slide>slides/xdebug/vld-path-4-output.xml</slide> + +<slide>slides/xdebug/vld-path-3-code.xml</slide> +<slide>slides/xdebug/vld-path-3-output.xml</slide> +<slide>slides/xdebug/vld-path-3-paths.xml</slide> + +<slide>slides/xdebug/vld-path-5-wrapup.xml</slide> +<slide>slides/mongodb/excercise.xml</slide> + +- Profiling with Xdebug (Cachegrind files and configuration options) +<slide>slides/xdebug/profile2.xml</slide> +<slide>slides/xdebug/profiling.xml</slide> +<slide>slides/xdebug/profiling2.xml</slide> + +<slide>slides/mongodb/excercise.xml</slide> + +<slide>slides/mongodb/questions.xml</slide> +<slide>slides/xdebug/resources.xml</slide> + +</presentation>