MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001561XdebugDocumentationpublic2018-07-01 02:032018-07-09 11:37
ReporterDavid536 
Assigned Toderick 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionno change required 
PlatformWindows 10OSWindows 10OS VersionWindows 10
Product Version2.6.0 
Target VersionFixed in Version 
Summary0001561: What do I do now?
DescriptionI 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 ReproduceDownload 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 InformationI'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
Attached Files

- Relationships

-  Notes
(0004678)
derick (administrator)
2018-07-09 09:35

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:
- https://xdebug.org/docs/remote [^]
- https://enrise.com/2018/02/debugging-php-with-xdebug/ [^]
(0004679)
David536 (reporter)
2018-07-09 11:30

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.
(0004680)
derick (administrator)
2018-07-09 11:37

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 02:03 David536 New Issue
2018-07-09 09:35 derick Note Added: 0004678
2018-07-09 09:35 derick Status new => resolved
2018-07-09 09:35 derick Resolution open => no change required
2018-07-09 09:35 derick Assigned To => derick
2018-07-09 11:30 David536 Note Added: 0004679
2018-07-09 11:37 derick Note Added: 0004680


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker