Derek Fountain wrote:
On Monday 14 March 2005 15:02, Morten Gulbrandsen wrote: <snip!>
You seem confused about a lot of things. Here are a few facts to consider:
'C' can indeed be interpreted. I used a 'C' interpreter once and it was a quite horrible experience. It was marketed as an education tool, but to totally transform the nature of a language like that made it so far from reality it was worthless in my opinion.
So, in short, a debugger is useful in virtually all languages, regardless of how they actually get executed. Perl has one built in. Most other languages have one suppiled as an extra.
Thank you for the information, I knew it would be possible to make "C" an interpreted language. Could we say that a debugger is a visual interpreter ? executing in debug mode is nearly the same as running an interpreter? I still think so. To be honest. When I code in C/C++ I also find =>Rational Purify Plus, or => solaris DTrace for detecting memory leaks very good. certain kinds of crashes are impossible to find without Purify Plus, In visual studio I used the debugger extensively. In fact my problem here lies in the assumption: Some of the 'best' programmers I have ever met. Claimed something like: => only stupid beginners needs a debugger. => Good programmers uses printf(); End_Of_Statement I hope we can agree that is is foolish to say things like that, in fact we all need a debugger. with different warning levels. But certain kinds of errors can occure in C, Can memory leak occure in PERL? here again I think => NO, due to some garbage collection mechanism. certain languages can never experience memory leaks. Ideally a debugger gives output of also the expressions, the identifiers, and should enable some backsteps. To reconstruct the software situation just before the critical code. here under this URL http://www.activestate.com/Products/Download/Download.plex?id=ASPNPerl&c... I found the software you use, To be honest I simply love PERL, It was the first programming language I simply mastered. In later years, I have been working with php. python, delphi and C++. Here I run solaris 9 x86, which perl /usr/bin/perl bash-2.05$ perl -v This is perl, v5.6.1 built for i86pc-solaris-64int (with 48 registered patches, see perl -V for more detail) Copyright 1987-2001, Larry Wall the trial does only run for solaris sparc. I can give it a go under Linux. Sun has perl as part of all solaris distributions. So it would be nice with a perl debugger for solaris x86. One last question, some years ago PERL was not object oriented. what is the situation now. can PERL offer the same object oriented software construction as Java, or C++ ? best regards Morten Gulbrandsen