View Issue Details

IDProjectCategoryView StatusLast Update
0001016XdebugFeature/Change requestpublic2019-06-28 11:19
ReporterwhitefireAssigned Toderick 
PrioritynormalSeverityminorReproducibilityN/A
Status acknowledgedResolutionopen 
Product Version 
Target Version3.0.0devFixed in Version 
Summary0001016: Support for pause-execution
DescriptionI would like to be able to pause-execution while the script is running. Practical when debugging long-running scripts or infinite loops.
TagsNo tags attached.
Operating System
PHP Version5.3.15-5.3.19

Activities

derick

2013-12-17 12:02

administrator   ~0002648

Do you mean the implementation of DBGP's break (http://www.xdebug.org/docs-dbgp.php#break) ? This would also require async support, and right now, no IDEs implement that either I think.

whitefire

2013-12-17 12:06

reporter   ~0002649

Last edited: 2013-12-17 13:06

View 2 revisions

Break definitely looks like what I'm looking for. Could you elaborate a bit about "async support"? I plan to add a feature request, but I need to know what I'm asking for.

Edit: nvm. I found it in the documentation!

Can't thank you enough for xDebug btw, it is my number 1. productivity-tool.

whitefire

2013-12-17 13:31

reporter   ~0002650

I have requested that Jetbrains implement this feature. Issue: http://youtrack.jetbrains.com/issue/WEB-10324

derick

2013-12-17 14:25

administrator   ~0002651

Xdebug does *not* implement async yet either though, so that has to be done first (as part of this FR).

whitefire

2013-12-17 14:33

reporter   ~0002652

Last edited: 2013-12-17 14:33

View 2 revisions

I added a link to this issue in youtrack. I suspect that not too many people have thought of, or felt the need for such a feature, but I guess time will tell.

derick

2016-12-11 23:34

administrator   ~0004008

Still true, but I am not putting this on the list for 2.6.0-dev.

Robert Lu

2019-05-31 07:25

reporter   ~0005034

Why do we mark `supported=1` at the response of `feature_get -n supports_async`?

https://github.com/xdebug/xdebug/blob/2.7.2/xdebug_handler_dbgp.c#L1220-L1223

`supports_async` indicates the support of break command. Currently, break is not supported, it should be marked unsupported.

derick

2019-06-03 08:46

administrator   ~0005035

This is explained in the DBGp documentation: https://xdebug.org/docs-dbgp.php#feature-get

Issue History

Date Modified Username Field Change
2013-12-17 11:48 whitefire New Issue
2013-12-17 12:02 derick Note Added: 0002648
2013-12-17 12:02 derick Assigned To => derick
2013-12-17 12:02 derick Status new => feedback
2013-12-17 12:06 whitefire Note Added: 0002649
2013-12-17 12:06 whitefire Status feedback => assigned
2013-12-17 13:06 whitefire Note Edited: 0002649 View Revisions
2013-12-17 13:31 whitefire Note Added: 0002650
2013-12-17 14:25 derick Note Added: 0002651
2013-12-17 14:33 whitefire Note Added: 0002652
2013-12-17 14:33 whitefire Note Edited: 0002652 View Revisions
2016-12-11 23:34 derick Note Added: 0004008
2016-12-11 23:34 derick Status assigned => acknowledged
2019-05-31 07:25 Robert Lu Note Added: 0005034
2019-06-03 08:46 derick Note Added: 0005035
2019-06-28 11:19 derick Target Version => 3.0.0dev