View Issue Details

IDProjectCategoryView StatusLast Update
0001671XdebugStep Debuggingpublic2020-03-12 16:43
ReporterRobert Lu Assigned Toderick  
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.
Attached Files
break.png (11,197 bytes)   
break.png (11,197 bytes)   
continuation.png (10,864 bytes)   
continuation.png (10,864 bytes)   
other command.png (10,899 bytes)   
other command.png (10,899 bytes)   
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

Issue History

Date Modified Username Field Change
2019-05-29 10:40 Robert Lu New Issue
2019-05-29 10:40 Robert Lu File Added: break.png
2019-05-29 10:40 Robert Lu File Added: continuation.png
2019-05-29 10:40 Robert Lu File Added: other command.png
2019-05-29 10:46 Robert Lu Note Added: 0005032
2019-05-29 10:51 derick Assigned To => derick
2019-05-29 10:51 derick Status new => resolved
2019-05-29 10:51 derick Resolution open => won't fix
2019-05-29 10:51 derick Note Added: 0005033
2020-03-12 16:43 derick Category Feature/Change request => Step Debugging