![]() |
|
|
|||||||
| embarcadero.public.delphiphp.debugger This group is for all discussion about debugging with the Delphi for PHP product. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
> {quote:title=Delphi-PHP Forums wrote:}{quote}
> Hi, > I spent more time to have debugger working than to try to develop > application with D4Php. > Some time debug do not stop at a breack point, some time it stop but > got an error about property not defined, some time i got execution time > error, some time, with breack point set, the result page is completely > different than w/o break point etc etc etc etc etc ...... > Did Codegear/Embarcadero/Borland plane to have a serius debug or we > must continue to work with this debugger? We have plans to drop the existing one and integrate XDebug: http://www.xdebug.org/ Regards |
| Sponsored Links |
|
|
|
|||
|
Thank's a lot.
I will try. Paolo.
__________________
La guerre est un massacre entre gens qui ne se connaissent pas, et qu'il profite à des gens qui se connaissent mais qui ne se massacrent pas Paul Valery
|
|
|||
|
Hi,
Many thank's for the answer you did and the time spent to answer. I fallow your link, but really i am unable to install. Sure i am not a PHP men, and i do not understand, even after read the documentation, how to install the Xdebug and how to use it. 1. Where i put zend_extension_ts="c:/php/modules/php_xdebug-4.4.1-2.0.2.dll" in the php.ini wich section ? 2. where a say in Php.ini that the debug will be Xdebug ? 3. Did from the ide to run a script with debug i will do the same than with PhpDbg 4. wich version have i to install from the 4 or 5 that exist in the dowload page of xDebug? the version depends on Php version ?. if you see other point to take in account please tell. many thank's for the help. Paolo
__________________
La guerre est un massacre entre gens qui ne se connaissent pas, et qu'il profite à des gens qui se connaissent mais qui ne se massacrent pas Paul Valery
|
|
|||
|
> {quote:title=Delphi-PHP Forums wrote:}{quote}
> Hi, > Many thank's for the answer you did and the time spent to answer. > I fallow your link, but really i am unable to install. The link I posted is just for the reference of the debugger we plan to use on the next release, there is no way right now to use it on the IDE, but you could use it alone, in any case, check out the xdebug support forums to see if they can help you. Regards |
|
|||
|
The problems with the debugger being oh_so_slow (i.e 30 seconds for a
F8 single step) only seem to be worst when stepping through code that has visual components on it. If you are stepping through a non visual unit the speed is acceptable. My hunch is that the IDE/debugger are recreating the form each time the debugger pauses - could this be true ???? D David Moorhouse Moorhouse Works ltd www.moorhouse.co.nz |
|
|||
|
> {quote:title=David Moorhouse wrote:}{quote}
> The problems with the debugger being oh_so_slow (i.e 30 seconds for a > F8 single step) only seem to be worst when stepping through code that > has visual components on it. If you are stepping through a non visual > unit the speed is acceptable. > > My hunch is that the IDE/debugger are recreating the form each time > the debugger pauses - could this be true ???? No, is not working that way, please, send me a sample form, ready to run, to support at qadram.com, which takes long time to debug step by step. Regards |
|
|||
|
Hi Jose
I'm in the middle of a big project at the moment with only 5 weeks till D Day. So sorry you won't be getting a ready to run debugging project from me yet as all my time is committed. However I have observed this phenomenon with my Ajax callbacks. I have a dispatcher class which takes an ajax request and depending on the params it does a require_once on the UI form that it needs to load. Up until the point that it loads in the form via the require_once statement, F8 is almost instantaneous. As soon as the form is loaded, single stepping takes approx 30 secs for a line and the CPU is being run at 90%+ by D4PHP. HTH D On Mon, 16 Mar 2009 02:23:50 -0700, José León Serna <> wrote: >> >> My hunch is that the IDE/debugger are recreating the form each time >> the debugger pauses - could this be true ???? >No, is not working that way, please, send me a sample form, ready to run, to support at qadram.com, which takes long time to debug step by step. > >Regards David Moorhouse Moorhouse Works ltd www.moorhouse.co.nz |
|
|||
|
Hi Jose
I'm trying XDebug with Notepad++. A much improved debugging experience apart from the odd Notepad++ crash . I use D4PHP for development and XDebug/Notepad++ when I need to step into my code at runtime. Not an optimal setup but the debugger never takes more than a couple of seconds to step through a line (e.g when loading in a form and creating it's resources). HTH D On Thu, 11 Dec 2008 03:16:03 -0800, José León Serna <> wrote: >> {quote:title=Delphi-PHP Forums wrote:}{quote} >> Hi, >We have plans to drop the existing one and integrate XDebug: > >http://www.xdebug.org/ > >Regards David Moorhouse Moorhouse Works ltd www.moorhouse.co.nz |
|
|||
|
Here's an interim report after using Xdebug and Notepad++ for the last
month. 1. On the main, much quicker at single stepping through code than the PHP DBG listener shipped with D4PHP 2. Occasional crashes (probably due a to a flakey add in for Notepad++ as the httpd server keeps working fine). 3. The best feature is being able to turn the debugger on and off between calls. Rather than use a param in the URL (ala D4PHP), the XDebug addin for Notepad++, has a button labelled "Turn On / Turn Off". This is really useful when you just want to step through a particular piece of ciode and may have to run other code, or make entire other calls, prior to single stepping. I'd say this is a must have for v3 of D4PHP. HTH D >I'm trying XDebug with Notepad++. A much improved debugging >experience apart from the odd Notepad++ crash . David Moorhouse Moorhouse Works ltd www.moorhouse.co.nz |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|