Step-through Debugger?
Posted: Wed Aug 16, 2006 8:40 pm
Hello,
I used to use PowerBuilder a lot (its the only programming Ive ever really done) and it had a really handy debugger where you could execute the code and follow along, checking out variables and the values that they held as the code was being run.
I am trying to debug some php and although I know I can print specific variables when I want to know what they hold, it doesnt seem like the best way to do things.
Do any editors have particularly good debugging functionality? I dont expect that they will offer any live peeks into the code, but maybe they will come close? How do you go about running code and seeing what is going on without resorting to print_r or stopping things altogether?
In some cases, I am working on other people's code and it is very complex... I am positive there are a lot of things floating around that I am not even aware of. It would be good to see what is happening.
Like I said, I am new to PHP so this might be a silly question. If so, I apologize. I have looked around and have not seen this mentioned elsewhere besides one question on this board and it was not identical to my question.
Thanks a lot.
I used to use PowerBuilder a lot (its the only programming Ive ever really done) and it had a really handy debugger where you could execute the code and follow along, checking out variables and the values that they held as the code was being run.
I am trying to debug some php and although I know I can print specific variables when I want to know what they hold, it doesnt seem like the best way to do things.
Do any editors have particularly good debugging functionality? I dont expect that they will offer any live peeks into the code, but maybe they will come close? How do you go about running code and seeing what is going on without resorting to print_r or stopping things altogether?
In some cases, I am working on other people's code and it is very complex... I am positive there are a lot of things floating around that I am not even aware of. It would be good to see what is happening.
Like I said, I am new to PHP so this might be a silly question. If so, I apologize. I have looked around and have not seen this mentioned elsewhere besides one question on this board and it was not identical to my question.
Thanks a lot.