View Issue Details

IDProjectCategoryView StatusLast Update
0001353XdebugStep Debuggingpublic2021-03-17 08:55
Reportersidharth_k Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version2.4.1 
Summary0001353: Make static function xdebug_dbgp_parse_option() extern
Description

Dontbug (see https://github.com/sidkshatriya/dontbug ) is a reversible debugger for PHP

Dontbug depends on Xdebug ( see Credits at https://github.com/sidkshatriya/dontbug#credits )

Currently a very small patch needs to be applied to Xdebug to get it to work with Dontbug (see https://github.com/sidkshatriya/dontbug/blob/14ddeda6f527b399c6653e7e41291ccbd28a8c4b/ext/dontbug/xdebug_2_4.make_extern.dontbug.patch )

Basically the patch makes the static function xdebug_dbgp_parse_option() extern.

The rationale for this patch is described here:

https://github.com/sidkshatriya/dontbug/wiki/How-the-Dontbug-Debugger-works#getting-the-value-of-variables-and-inspecting-the-call-stack-1

I was wondering if we could incorporate the patch into the Xdebug master & 2.4.x branches so that end users will not need to build a patched Xdebug locally in order to use Dontbug. (The extraneous C comments in the patch should be removed, of course, while incorporating it into Xdebug sources)

I would be very grateful if you considered this patch for inclusion. I think this will be a great help in reducing entry barriers to reverse debugging on PHP. Thank you for all the help Xdebug has already given Dontbug.

TagsNo tags attached.
Operating System
PHP Version7.0.10-7.0.14

Activities

sidharth_k

2016-10-19 14:40

reporter   ~0003730

Last edited: 2016-10-19 14:44

@derrick Hope you didn't miss this ticket. Would greatly appreciate if you could have a quick look at this! :-)

sidharth_k

2016-10-28 18:42

reporter   ~0003731

Last edited: 2016-10-28 18:42

Filed a corresponding pull request https://github.com/xdebug/xdebug/pull/288

derick

2016-12-13 21:42

administrator   ~0004057

I might want to implement this, but it's not high on my list of things to do.

derick

2021-03-17 08:55

administrator   ~0005729

I'm closing this as this is now very long ago.

Issue History

Date Modified Username Field Change
2016-10-12 04:59 sidharth_k New Issue
2016-10-19 14:40 sidharth_k Note Added: 0003730
2016-10-19 14:44 sidharth_k Note Edited: 0003730
2016-10-28 18:42 sidharth_k Note Added: 0003731
2016-10-28 18:42 sidharth_k Note Edited: 0003731
2016-12-13 21:42 derick Status new => acknowledged
2016-12-13 21:42 derick Note Added: 0004057
2020-03-12 16:51 derick Category Feature/Change request => Step Debugging
2021-03-17 08:55 derick Assigned To => derick
2021-03-17 08:55 derick Status acknowledged => resolved
2021-03-17 08:55 derick Resolution open => won't fix
2021-03-17 08:55 derick Note Added: 0005729