View Issue Details

IDProjectCategoryView StatusLast Update
0001671XdebugStep Debuggingpublic2020-03-12 16:43
ReporterRobert Lu Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionwon't fix 
Summary0001671: migrate debugger to async model
Description

Currently, Xdebug, cannot pause/break a program(without breakpoint), cannot insert/update breakpoint while running.

Those because of that Xdebug process one command at the same time. The current command can only be processed after the previous command processed.

If we migrate to async model, those feature can be supported. As showed by attachments.

TagsNo tags attached.
Operating System
PHP Version7.3.0-7.3.1

Activities

Robert Lu

2019-05-29 10:46

reporter   ~0005032

the doc at Github: https://github.com/RobberPhex/xdebug/blob/master/docs/async.md

I am planing to implement this model. But before start, I want this design get reviewd.

derick

2019-05-29 10:51

administrator   ~0005033

Hi,

I'm not intending to change the protocol, as it is in use by many IDEs as well as other language engines. The DBGp protocol allows for async debuggers, but Xdebug currently does not implement this yet: https://xdebug.org/docs-dbgp.php#asynchronous-communications

There is also an issue in this issue tracker: https://bugs.xdebug.org/view.php?id=1016

cheers,
Derick