Jamie Lokier wrote:
> James Bewley wrote:
>   
>> Out of interest, how do you go about debugging without a debugger?
>>     
>
> The Linus Torvalds way: by reading the code and observing its behaviour.
> Changing the inputs and adding print statements are good too

Yep. I do this, and all the things David listed, tests, logging etc.

Komodo's smart editing background check generally picks up most of the 
silly little mistakes. It also integrates with the perl debugger, I gave 
it a go once, but for me it seems a lot quicker to just look at the code 
and follow things in my head...

Komodo's perl debugger can also simulate a CGI environment. Amias maybe 
it's what your looking for? It works on Linux as well as windows, and is 
built off the Mozilla platform.

David, that function IO logger sounds like it could be very useful. I 
vote for uploading it to CPAN.


Lyle

_______________________________________________
BristolBathPM mailing list
[email protected]
http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm

Reply via email to