php Programming Glossary: xdebug
eclipse xdebug session never completes http://stackoverflow.com/questions/2374567/eclipse-xdebug-session-never-completes xdebug session never completes I am trying to get xdebug working with.. xdebug session never completes I am trying to get xdebug working with eclipse 3.5 php on xampp windows 7 . I have verified.. with eclipse 3.5 php on xampp windows 7 . I have verified xdebug is enabled in php I have the fancy output and my phpinfo shows..
Opening/closing tags & performance? http://stackoverflow.com/questions/2437144/opening-closing-tags-performance parts of your script. Can be done with some profiler like xdebug or even manually using microtime 1 . Learn to profile before..
What are the disadvantages of using persistent connection in PDO http://stackoverflow.com/questions/3332074/what-are-the-disadvantages-of-using-persistent-connection-in-pdo in your script this means you've done code profiling using xdebug and or xhprof you should not consider persistent connections..
Code Coverage tools for PHP [closed] http://stackoverflow.com/questions/348850/code-coverage-tools-for-php php code coverage share improve this question xdebug has Code Coverage Analysis . Check this chapter of the PHPUnit..
Is there a static code analyzer [like Lint] for PHP files? [closed] http://stackoverflow.com/questions/378959/is-there-a-static-code-analyzer-like-lint-for-php-files graphviz . Another option is xhprof which is similar to xdebug but lighter making it suitable for production servers. The tool..
Increasing nesting functions calls limit http://stackoverflow.com/questions/4293775/increasing-nesting-functions-calls-limit event based system with a lot of callbacks. php xdebug share improve this question This error message comes specifically.. function nesting limit. Change the setting in your php.ini xdebug.max_nesting_level 200 As for if you really need to change it..
While I am debugging PHP Script in Eclipse, it doesn't load mysql extension http://stackoverflow.com/questions/5784327/while-i-am-debugging-php-script-in-eclipse-it-doesnt-load-mysql-extension debug it as a page in Eclipse I give the same modules and xdebug. When I debug it as a page in Eclipse I give 45 modules include.. I debug it as a page in Eclipse I give 45 modules include xdebug but mysql and mysqli are not loaded. php eclipse ubuntu xdebug.. but mysql and mysqli are not loaded. php eclipse ubuntu xdebug share improve this question after struggling with this issue..
How to benchmark efficiency of PHP script http://stackoverflow.com/questions/8291366/how-to-benchmark-efficiency-of-php-script want to benchmark real world stuff code use tools like xdebug 1 and xhrpof 2 . Xdebug is great for when your working in dev.. the micro premature optimisation route to hell 3 1 http xdebug.org docs profiler 2 http phpadvent.org 2010 profiling with xhgui..
How to get useful error messages in PHP? http://stackoverflow.com/questions/845021/how-to-get-useful-error-messages-in-php information. The PhpEd debugger is very similar to xdebug and integrates directly into the editor so you use 1 program..
Diagnosing Memory Leaks - Allowed memory size of # bytes exhausted http://stackoverflow.com/questions/849549/diagnosing-memory-leaks-allowed-memory-size-of-bytes-exhausted narrow it down to where the code leaks. You can also use xdebug to create a trace of the code. Run the code with execution traces..
Solution for “Fatal error: Maximum function nesting level of '100' reached, aborting!” in PHP http://stackoverflow.com/questions/8656089/solution-for-fatal-error-maximum-function-nesting-level-of-100-reached-abor the maximum function nesting level in PHP php recursion xdebug php errors share improve this question Increase the value.. share improve this question Increase the value of xdebug.max_nesting_level in your php.ini http xdebug.org docs all_settings#max_nesting_level.. the value of xdebug.max_nesting_level in your php.ini http xdebug.org docs all_settings#max_nesting_level share improve this..
PHP memory profiling http://stackoverflow.com/questions/880458/php-memory-profiling or which function calls are allocating the most memory. xdebug doesn't seem to provide memory information in its profiling.. to provide memory information in its profiling feature. xdebug does provide it in its tracing feature. This is pretty close.. a quick way to check out a piece of code. I agree that xdebug mem deltas can be too verbose to be useful sometimes so I often..
How can I get PHP to produce a backtrace upon errors? http://stackoverflow.com/questions/1159216/how-can-i-get-php-to-produce-a-backtrace-upon-errors stack trace backtrace share improve this question Xdebug prints a backtrace table on errors and you don't have to write..
Can't get PHP debugging to work with Komodo (but I'm almost there!) http://stackoverflow.com/questions/11632369/cant-get-php-debugging-to-work-with-komodo-but-im-almost-there I'm trying to set up PHP debugging in Komodo 7 using the Xdebug extension that ships with Komodo. The extension seems to be..
How can I measure the speed of code written in php? http://stackoverflow.com/questions/1200214/how-can-i-measure-the-speed-of-code-written-in-php takes lots of time in an entire script is to use The Xdebug extension to generate profiling data for the script Software.. To get profiling files you have to install and configure Xdebug take a look at the Profiling PHP Scripts page of the documentation... the function that is slowing everything down ^^ Note that Xdebug counts the CPU time spent by PHP when PHP is waiting for an..
Optimizing Kohana-based Websites for Speed and Scalability http://stackoverflow.com/questions/1260134/optimizing-kohana-based-websites-for-speed-and-scalability OP Profiling Now a nice thing to do would be to use the Xdebug extension to profile your application it often allows to find.. with profiling can generate callgraphs but is lighter than Xdebug which mean you should be able to install it on a production..
PHP Fatal error: Call to undefined function json_decode() http://stackoverflow.com/questions/18239405/php-fatal-error-call-to-undefined-function-json-decode v7.0.2 dev Copyright c 1999 2013 by Zend Technologies with Xdebug v2.2.3 Copyright c 2002 2013 by Derick Rethans Clearly showing..
A more pretty/informative Var_dump alternative in PHP? http://stackoverflow.com/questions/2141585/a-more-pretty-informative-var-dump-alternative-in-php My prefered on is the var_dump function as provided by the Xdebug extension just install the extension easy both on windows and.. should be displayed And a quick screenshot And of course Xdebug brings loads of other usefull stuff like remote debugging i.e...
Remote debugging won't stop at breakpoints http://stackoverflow.com/questions/2359712/remote-debugging-wont-stop-at-breakpoints with several versions but no dice. I'm using PHP 5.3.1 and Xdebug 2.1.0 beta3 I've also tried at least 3 different debugging programs..
PHP 5 Reflection API performance http://stackoverflow.com/questions/294582/php-5-reflection-api-performance share improve this question Don't be concerned. Install Xdebug and be sure where the bottleneck is. There is cost to using..
Xdebug ignores breakpoints http://stackoverflow.com/questions/3422433/xdebug-ignores-breakpoints ignores breakpoints Hey guys i am currently trying to get Xdebug.. ignores breakpoints Hey guys i am currently trying to get Xdebug to work on our development server. As client i am using netbeans.. SO 1 SO 2 But this does not seem to solve it for me. The Xdebug module is loaded via zend_extension path to xdebug. so in the..
Is there a static code analyzer [like Lint] for PHP files? [closed] http://stackoverflow.com/questions/378959/is-there-a-static-code-analyzer-like-lint-for-php-files useful for some things due to PHPs dynamic nature include Xdebug has code coverage and function traces . My PHP Tracer Tool uses.. Tool uses a combined static dynamic approach building on Xdebug's function traces. The documentation libraries phpdoc and doxygen..
Xdebug And Netbeans Problem http://stackoverflow.com/questions/4528569/xdebug-and-netbeans-problem And Netbeans Problem Im trying to configure xdebug to work..
How to debug PHP with netbeans and Xdebug http://stackoverflow.com/questions/693074/how-to-debug-php-with-netbeans-and-xdebug to debug PHP with netbeans and Xdebug I have recently tried to get going with Netbeans 6.5 after..
How to benchmark efficiency of PHP script http://stackoverflow.com/questions/8291366/how-to-benchmark-efficiency-of-php-script world stuff code use tools like xdebug 1 and xhrpof 2 . Xdebug is great for when your working in dev staging and xhprof is..
Debugging PHP code [closed] http://stackoverflow.com/questions/1011008/debugging-php-code to modify data as you debug along. Another alternative is XDebug which is free and OSS. In fact PHPEd's debugger may even be..
measuring the elapsed time between code segments in PHP http://stackoverflow.com/questions/11235369/measuring-the-elapsed-time-between-code-segments-in-php php time share improve this question A debugger like XDebug Zend Debugger can give you this type of insight plus much more..
Profiling PHP code http://stackoverflow.com/questions/133686/profiling-php-code I have actually done some optimisation work last week. XDebug is indeed the way to go. Just enable it as an extension for..
What are some good PHP profilers that can be used? http://stackoverflow.com/questions/2145373/what-are-some-good-php-profilers-that-can-be-used used php profiler share improve this question I use XDebug and WinCacheGrind to profile php. share improve this answer..
PHP emitting 500 on errors - where is this documented? http://stackoverflow.com/questions/3075355/php-emitting-500-on-errors-where-is-this-documented a 500 error automatically when error_reporting is off and XDebug changing that behaviour. That got me curious as I've never heard..
Will enabling XDebug on a production server make PHP slower? http://stackoverflow.com/questions/3522182/will-enabling-xdebug-on-a-production-server-make-php-slower enabling XDebug on a production server make PHP slower The title pretty much.. bad idea I'd like to have the enhanced debug messages that XDebug provides on the server. edit Just to make things clear. I'm.. as possible. The main thing I'm looking for is using XDebug's enhanced var_dump . This is not an app server for high traffic..
Why are PHP function calls *so* expensive? http://stackoverflow.com/questions/3691625/why-are-php-function-calls-so-expensive this question and decided to run the benchmark again with XDebug completely disabled not just profiling disabled . This showed..
Increasing nesting functions calls limit http://stackoverflow.com/questions/4293775/increasing-nesting-functions-calls-limit question This error message comes specifically from the XDebug extension. PHP itself does not have a function nesting limit...
I need to debug php, what is my best choice? http://stackoverflow.com/questions/4640421/i-need-to-debug-php-what-is-my-best-choice php linux debugging vim share improve this question XDebug provides step by step debugging and can be used with eclipse..
Find out where your PHP code is slowing down (Performance Issue) http://stackoverflow.com/questions/55720/find-out-where-your-php-code-is-slowing-down-performance-issue profiling share improve this question I've used XDebug profiling recently in a similiar situation. It outputs a full..
While I am debugging PHP Script in Eclipse, it doesn't load mysql extension http://stackoverflow.com/questions/5784327/while-i-am-debugging-php-script-in-eclipse-it-doesnt-load-mysql-extension file etc php5 apache2 php.ini SAPI type CLI PHP debugger XDebug I wrote the following script test.php php ext get_loaded_extensions..
PHP: SoapClient constructor is very slow (takes 3 minutes) http://stackoverflow.com/questions/5944067/php-soapclient-constructor-is-very-slow-takes-3-minutes by java from Nushphere PHPed PPS As suggested by AJ I used XDebug and kcachegrind to analyze the problem. As you can see I was..
Why does an infinitely recursive function in PHP cause a segfault? http://stackoverflow.com/questions/7327393/why-does-an-infinitely-recursive-function-in-php-cause-a-segfault fault share improve this question If you use XDebug there is a maximum function nesting depth which is controlled.. but not in general . Instead PHP should take the hint from XDebug and other languages Python etc and make a configurable nesting..
How to disable XDebug http://stackoverflow.com/questions/8754826/how-to-disable-xdebug to disable XDebug I think that my server became slow since I installed XDebug... I think that my server became slow since I installed XDebug. So in order to test my hypothesis I want to disable XDebug.. So in order to test my hypothesis I want to disable XDebug completely. I've been searching for tutorials on how to do this..
Upgrade PHP from version 5.2 to 5.3 http://stackoverflow.com/questions/1609325/upgrade-php-from-version-5-2-to-5-3 so some PHP extension need to be upgraded I had to upgrade xDebug . That means that you need to find the respective DLLs which.. done configuring 5.3 in a couple of minutes. I mentioned xDebug a few lines above. If you use it you should know that the line.. you use it you should know that the line which activates xDebug is now zend_extension path to PHP 5.3.0 ext php_xdebug.dll instead..
Tool for PHP code analysis [duplicate] http://stackoverflow.com/questions/4156157/tool-for-php-code-analysis
While I am debugging PHP Script in Eclipse, it doesn't load mysql extension http://stackoverflow.com/questions/5784327/while-i-am-debugging-php-script-in-eclipse-it-doesnt-load-mysql-extension doesn't load mysql extension I have installed Eclipse and xDebug on Ubuntu 10.10. When I debug some php file as a page that works..
PHP5 performance comparison, Windows and Linux http://stackoverflow.com/questions/7741043/php5-performance-comparison-windows-and-linux for a few weeks now Apache 2.2.17 PHP 5.3.5 APC 3.1.9 no xDebug On the dev environment the time given on the Symfony2 toolbar.. Wampserver 2.2 PHP 5.3.8 Apache 2.2.21 APC 3.1.7 no xDebug The computer on the windows environment is much better than.. toolbar shows a 764ms time generation increased because of xDebug and profiling but still relevant . Webgrind shows 651 calls..
Solution for “Fatal error: Maximum function nesting level of '100' reached, aborting!” in PHP http://stackoverflow.com/questions/8656089/solution-for-fatal-error-maximum-function-nesting-level-of-100-reached-abor above. Please do consider it. Do you have Zend IonCube or xDebug installed If so that is probably where you are getting this..
Reaching 100% Code Coverage with PHPUnit http://stackoverflow.com/questions/8804095/reaching-100-code-coverage-with-phpunit it's not always important to do so The issue comes from xDebug telling PHPUnit that this line is executable but not covered... this line is executable but not covered. For simple cases xDebug can tell that the line is NOT reachable so you get 100 code.. simple example below. 2nd Update The issue is now fixed xDebug bugtracker so building a new version of xDebug will solve those..
|