Delphi For PHP Forums       


Go Back   Delphi-PHP Forums > Delphi4PHP NNTP Newsgroups > embarcadero.public.delphiphp.debugger
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

embarcadero.public.delphiphp.debugger This group is for all discussion about debugging with the Delphi for PHP product.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11th December 2008, 11:16
José León Serna
Guest
 
Posts: n/a
Default Re: Hope New Debugger

> {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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12th December 2008, 06:35
D4PHP Enthusiast
 
Join Date: Apr 2007
Location: Milano
Posts: 182
goitalia is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 29th January 2009, 13:03
D4PHP Enthusiast
 
Join Date: Apr 2007
Location: Milano
Posts: 182
goitalia is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 30th January 2009, 11:34
José León Serna
Guest
 
Posts: n/a
Default Re: Hope New Debugger

> {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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 15th March 2009, 22:07
David Moorhouse
Guest
 
Posts: n/a
Default Re: Hope New Debugger

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 16th March 2009, 10:23
José León Serna
Guest
 
Posts: n/a
Default Re: Hope New Debugger

> {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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 18th March 2009, 08:38
David Moorhouse
Guest
 
Posts: n/a
Default Re: Hope New Debugger

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 19th March 2009, 08:14
David Moorhouse
Guest
 
Posts: n/a
Default Re: Hope New Debugger

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 15th April 2009, 07:23
David Moorhouse
Guest
 
Posts: n/a
Default Re: Hope New Debugger

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 23:09.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use