[presentations] master: Updated Xdebug slides

From: Date: Wed, 20 Oct 2021 15:33:28 +0000
Subject: [presentations] master: Updated Xdebug slides
Groups: php.pres 
Request: Send a blank email to pres+get-2397@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2021-10-14T14:44:37+01:00 Commit: https://github.com/php/presentations/commit/5b571e2001d885b2cb6c6049a7271e152e693cd1 Raw diff: https://github.com/php/presentations/commit/5b571e2001d885b2cb6c6049a7271e152e693cd1.diff Updated Xdebug slides Changed paths: A slides/xdebug/xdebug-3.1.xml A xdebug-phoneburner.xml M slides/xdebug/config-settings-3b.xml M slides/xdebug/debugger-activation.xml M slides/xdebug/debugger-connection-log.xml M slides/xdebug/focus-on-xdebug.xml Diff: diff --git a/slides/xdebug/config-settings-3b.xml b/slides/xdebug/config-settings-3b.xml index 75ea942f..4c3840ce 100644 --- a/slides/xdebug/config-settings-3b.xml +++ b/slides/xdebug/config-settings-3b.xml @@ -36,12 +36,11 @@ xdebug.max_stack_frames |00ff00|xdebug.output_dir| xdebug.profiler_append xdebug.profiler_output_name -xdebug.remote_addr_header -xdebug.remote_cookie_expire_time -|0000ff|xdebug.discover_client_host| +xdebug.client_discovery_header |0000ff|xdebug.client_host| -|0000ff|xdebug.remote_port| -xdebug.remote_timeout +|0000ff|xdebug.client_port| +|0000ff|xdebug.discover_client_host| +xdebug.connect_timeout_ms xdebug.scream xdebug.show_error_trace xdebug.show_exception_trace diff --git a/slides/xdebug/debugger-activation.xml b/slides/xdebug/debugger-activation.xml index c1b0b4ab..9de3ef1f 100644 --- a/slides/xdebug/debugger-activation.xml +++ b/slides/xdebug/debugger-activation.xml @@ -18,7 +18,7 @@ <div effect="fade-in"> <blurb>On the shell:</blurb> - <blurb class="small_blurb">%export XDEBUG_SESSION=yes%</blurb> + <blurb class="small_blurb">%export XDEBUG_TRIGGER=yes%</blurb> </div> <div effect="fade-in"> <blurb class="small_blurb">%export XDEBUG_MODE=debug%</blurb> diff --git a/slides/xdebug/debugger-connection-log.xml b/slides/xdebug/debugger-connection-log.xml index c381ff7e..e1cb4b9e 100644 --- a/slides/xdebug/debugger-connection-log.xml +++ b/slides/xdebug/debugger-connection-log.xml @@ -10,24 +10,21 @@ <div effect="fade-out"> <example inline="2"> -xdebug.cloud_id=f047e3fd-9d35-4989-94f3-4cb64a1e6376 - -[2912111] Log opened at 2020-11-18 10:11:31.536895 -[2912111] [Step Debug] INFO: Connecting to configured address/port: - n.cloud.xdebug.com:9020. -[2912111] [Step Debug] INFO: Connected to debugging client: (null). :-) +[3553863] Log opened at 2021-05-14 09:46:40.912819 +[3553863] [Step Debug] INFO: Connecting to configured address/port: localhost:9003. +[3553863] [Step Debug] INFO: Connected to debugging client: localhost:9003 + (through xdebug.client_host/xdebug.client_port). :-) </example> </div> <div effect="fade-in"> <example inline="2"> -xdebug.client_discover_address=1 -|777777|xdebug.client_host=SomethingEntirelyDifferent| -xdebug.client_port=9003 - -[Step Debug] Could not connect to debugging client. - Tried: SometimeEntirelyDifferent:9003 - (fallback through xdebug.client_host/xdebug.client_port) :-( +[3553807] Log opened at 2021-05-14 09:46:31.329802 +[3553807] [Step Debug] INFO: Connecting to configured address/port: localhost:9003. +[3553807] [Step Debug] WARN: Creating socket for 'localhost:9003', poll success, + but error: Operation now in progress (29). +[3553807] [Step Debug] ERR: Could not connect to debugging client. + Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-( </example> </div> </slide> diff --git a/slides/xdebug/focus-on-xdebug.xml b/slides/xdebug/focus-on-xdebug.xml index 1de0ab91..f61fe845 100644 --- a/slides/xdebug/focus-on-xdebug.xml +++ b/slides/xdebug/focus-on-xdebug.xml @@ -1,7 +1,7 @@ <slide> <title>The Xdebug Experience</title> -<blurb>Xdebug is 18 years old, and has plenty of issues:</blurb> +<blurb>Xdebug is 19 years old, and has plenty of issues:</blurb> <list> <bullet>*Configuration Confusion*<br/><small>65 configuration settings: pointless, duplicated, or incompatible at the same time</small></bullet> diff --git a/slides/xdebug/xdebug-3.1.xml b/slides/xdebug/xdebug-3.1.xml new file mode 100644 index 00000000..999c2ca7 --- /dev/null +++ b/slides/xdebug/xdebug-3.1.xml @@ -0,0 +1,28 @@ +<slide> +<title>Xdebug 3.1</title> + +<blurb>PHP 8.1 support:</blurb> +<list> + <bullet>Enums</bullet> + <bullet>Fibers</bullet> +</list> +<break/> +<blurb>Improved Debugging:</blurb> +<list> + <bullet>Breakpoint Correlation when Reached</bullet> + <bullet>Cloud ID set through browser extension</bullet> + <bullet>%xdebug_notify()%</bullet> +</list> +<break/> + +<blurb>Better Diagnostics Page</blurb> +<break/> + +<blurb>Compressed profiling files</blurb> +<break/> + +<blurb>Querying API for modes:<br/> + <example>xdebug_info('mode');</example> +</blurb> + +</slide> diff --git a/xdebug-phoneburner.xml b/xdebug-phoneburner.xml new file mode 100644 index 00000000..edd72c59 --- /dev/null +++ b/xdebug-phoneburner.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8"?> +<presentation css="derick.css"> +<topic>Debugging</topic> +<title>Xdebug 3.0</title> +<event>Phoneburner</event> +<location>Virtual London, UK</location> +<date>June 18th, 2021</date> +<speaker>Derick Rethans</speaker> +<email>derick@xdebug.org</email> +<twitter>derickr</twitter> +<url></url> +<joindin>https://xdebug.org</joindin> +<slide>slides/xdebug/title.xml</slide> +<slide>slides/mongodb/me.xml</slide> + +<slide>slides/xdebug/focus-on-xdebug.xml</slide> +The Xdebug Experience +17 years + +<!-- +<s lide>slides/xdebug/xdebug-slow.xml</slide> + +<s lide>slides/xdebug/focus-on-xdebug3.xml</slide> +--> +breakpoint behaviour +New versions (7.4) +CI +<!-- +<s lide>slides/xdebug/xdebug-2.8.xml</slide> +<s lide>slides/xdebug/breakpoint-behaviour.xml</slide> + +<s lide>slides/xdebug/test-with-many-versions.xml</slide> +<s lide>slides/xdebug/xdebug-ci.xml</slide> +--> + +<slide>slides/xdebug/xdebug-3.xml</slide> +Code reorganisation +Modes +- only do what is needed +Reduce Configuration Options +Code Improvements (algorithms, memory, etc) +<slide>slides/xdebug/code-reorgnisation.xml</slide> +<slide>slides/xdebug/modes.xml</slide> +<slide>slides/xdebug/config-settings-3.xml</slide> +<slide>slides/xdebug/config-settings-3b.xml</slide> + +<!-- <s lide>slides/xdebug/xdebug-hard.xml</slide> --> +<!-- <s lide>slides/xdebug/connect1.xml</slide> --> +<!-- <s lide>slides/xdebug/connect2.xml</slide> --> +<slide>slides/xdebug/debugger-activation.xml</slide> +<slide>slides/xdebug/debugger-connection-log.xml</slide> +<slide>slides/xdebug/diagnostic-log.xml</slide> + +<slide>slides/xdebug/xdebug-3-speedup-1.xml</slide> + +<slide>slides/xdebug/xdebug-cloud-announcement.xml</slide> + +<slide>slides/xdebug/donate.xml</slide> +<slide>slides/xdebug/business-support.xml</slide> +<slide>slides/xdebug/transparency.xml</slide> + +<slide>slides/xdebug/xdebug-3.1.xml</slide> + +<slide>slides/xdebug/phpinternalsnews.xml</slide> +<slide>slides/mongodb/questions.xml</slide> +<slide>slides/xdebug/resources.xml</slide> + +</presentation>

« previous php.pres (#2397) next »