View Issue Details

IDProjectCategoryView StatusLast Update
0001016XdebugStep Debuggingpublic2020-11-12 16:16
Reporterwhitefire Assigned Toderick  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionwon't fix 
Target Version3.0dev 
Summary0001016: Support for pause-execution
Description

I 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

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

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

derick

2020-06-05 15:21

administrator   ~0005422

This got merged many months ago, through work by Robert Lu.

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
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
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.0dev
2020-03-12 16:43 derick Category Feature/Change request => Step Debugging
2020-06-05 15:21 derick Status acknowledged => closed
2020-06-05 15:21 derick Resolution open => fixed
2020-06-05 15:21 derick Fixed in Version => 3.0dev
2020-06-05 15:21 derick Note Added: 0005422
2020-10-14 15:02 derick Fixed in Version 3.0dev => 3.0.0beta1
2020-11-12 16:16 derick Status closed => resolved
2020-11-12 16:16 derick Resolution fixed => won't fix
2020-11-12 16:16 derick Fixed in Version 3.0.0beta1 =>