View Issue Details

IDProjectCategoryView StatusLast Update
0001561XdebugDocumentationpublic2018-07-09 10:37
ReporterDavid536 Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformWindows 10OSWindows 10OS VersionWindows 10
Product Version2.6.0 
Summary0001561: What do I do now?
Description

I love the phpinfo-based installation instructions. But what do I do now? Where is the list of debugger commands, if any?

Specifically, my PHP program is looping. How do I interrupt the loop to examine where it is looping?

Steps To Reproduce

Download and install php_xdebug-2.6.0-7.0-vc14.dll in the ext folder. Now what to do? Documentation doesn't seem to help.

Additional Information

I've been programming in PHP for many years, but could use some help in debugging, particularly when the program loops forever.

PHP/7.0.30

TagsNo tags attached.
Operating SystemWindows 10
PHP Version7.0.25-7.0.29

Activities

derick

2018-07-09 08:35

administrator   ~0004678

In general, you need an IDE to interact with Xdebug to debug. PhpStorm will give you the best results.

As this bug tracker is not a support forum, I'd like to point you to:

David536

2018-07-09 10:30

reporter   ~0004679

The public XDebug descriptions should be changed to make it clear that it is not a stand-alone debugger, so people don't waste their time with it.

I've looked into PHPStorm in the past, and it costs way too much for our nonprofit charity to afford.

My workaround is to continue my own tool development. Yesterday I wrote a function to add the PHP Backtrace in clear, readable form to my general logging function.

I understand that a bug reporting tool is not a forum for support. You really need to improve your external descriptions of XDebug so people will understand its surprising limitations. Just my opinion.

derick

2018-07-09 10:37

administrator   ~0004680

Literally the first thing on the website (https://xdebug.org/):

"About

Xdebug is an extension for PHP to assist with debugging and development. It contains a single step debugger to use with IDEs;"…

Issue History

Date Modified Username Field Change
2018-07-01 01:03 David536 New Issue
2018-07-09 08:35 derick Note Added: 0004678
2018-07-09 08:35 derick Status new => resolved
2018-07-09 08:35 derick Resolution open => no change required
2018-07-09 08:35 derick Assigned To => derick
2018-07-09 10:30 David536 Note Added: 0004679
2018-07-09 10:37 derick Note Added: 0004680