That's basically it: go through your code and insert some judicious echo or print statements to check the state of your program.<br><br><b><i>Deirdre Saoirse Moen <deirdre@deirdre.net></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Jul 27, 2007, at 4:11 PM, Rick Moen wrote:<br><br>> Hi. I'm new to Linux. I have a machine with Ubuntu 7.04, Apache, <br>> MySQL,<br>> and PHP installed. I'm trying to learn how to debug PHP with an <br>> IDE by<br>> stepping through the code. I'm able to do this when the PHP is a <br>> single<br>> file but am having trouble when it's more complicated (code is in <br>> several<br>> files). I've tried several IDE's (eclipse, zend, ...) and have looked<br>> online but I'm just not getting it.<br>><br>> Is this something I can get help on at the installfest?<br><br>Almost nothing lets you step through
everything; best you can do is <br>one big mega-file that tries to test a potential problem or a metric <br>ton of print statements (if your syntax is correct, but you're not <br>getting the expected results).<br><br>Same problem with many dynamic languages; at least Rails is more <br>helpful in development environment.<br><br>-- <br>_Deirdre http://deirdre.net<br><br><br><br>_______________________________________________<br>conspire mailing list<br>conspire@linuxmafia.com<br>http://linuxmafia.com/mailman/listinfo/conspire<br></blockquote><br><p>
<hr size=1>Ready for the edge of your seat?
<a href="http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/">Check out tonight's top picks</a> on Yahoo! TV.