Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Running a PHP script line by line( Debugging a php script step by step)
Running a PHP script line by line [message #546093] Sat, 10 July 2010 18:40 Go to next message
ushith is currently offline ushith
Messages: 6
Registered: July 2010
Junior Member
Hello !

After searching on the web i didn't find my answer so ...

Is there a way with Eclipse And Xdebug to debug a script line by line ?

Until now I have replaced all my ";" by ";xdebug_break( );"
or all my "\n" , but that's ain't very .. "pro"

There is actually no way of putting a line break on every line with eclipse ?

Ty for any tips !


Regards.
Re: Running a PHP script line by line [message #546141 is a reply to message #546093] Sun, 11 July 2010 11:38 Go to previous messageGo to next message
Eclipse User
Originally posted by: dkel50.hotremovemail.com

Ensure break on first line is selected for your debug environment, then
you can use the step over or step into options to step through a program
line by line. Step over jumps over function calls, step into will jump
into the function call and step through that (so long as it is a php
function of course)

Dave


On 10/07/2010 23:41, roomsmush@gmail.com wrote:
> Hello !
>
> After searching on the web i didn't find my answer so ...
>
> Is there a way with Eclipse And Xdebug to debug a script line by line ?
>
> Until now I have replaced all my ";" by ";xdebug_break( );" or all my
> "\n" , but that's ain't very .. "pro"
>
> There is actually no way of putting a line break on every line with
> eclipse ?
>
> Ty for any tips !
>
>
> Regards.
Re: Running a PHP script line by line [message #546147 is a reply to message #546141] Sun, 11 July 2010 12:58 Go to previous message
ushith is currently offline ushith
Messages: 6
Registered: July 2010
Junior Member
Hello !

Ty very much !

I saw those "buttons" when debugging earlier but didn't understood their purpose , now it's all clear Very Happy

Thank you Smile

Regards.
Previous Topic: PDT + XAMPP 1.7.3 + Xdebug + my breakpoints never get hit.
Next Topic:New features in the XDebug 2.1 should be max. utilize by PDT
Goto Forum:
  


Current Time: Thu Jul 24 18:59:36 EDT 2014

Powered by FUDForum. Page generated in 0.01789 seconds