Skip to main content



      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
Eclipse UserFriend
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 UserFriend
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
Eclipse UserFriend
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: Sat May 17 07:54:50 EDT 2025

Powered by FUDForum. Page generated in 0.04243 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top