Would be a nice compiler pre-processing step, eh?
On Thu, 17 Nov 2005, P T Withington wrote:
> The best practice here is to enclose any debug-only computations in
>
> if ($debug) {
> ...
> }
>
> The compiler will omit those statements when you compile without debugging.
>
> On 17 Nov 2005, at 16:07, Vikas Bhatia wrote:
>
> > Also, would it be possible to get the line number where the Debug
> > statement was issued. The same way an error prints the line number of
> > the error. Could be a configurable option like you can in log4j.
> > for example:
> > main.lzx:92: user authenticated
> >
> > Reason: Maybe later at deployment, you can quickly get to the
> > expensive debug statements and comment/remove them.
> >
> > On 11/17/05, P T Withington <[EMAIL PROTECTED]> wrote:
> > > I plan to implement this next time I have a few free hours :)
> > >
> > > On 17 Nov 2005, at 15:21, Vikas Bhatia wrote:
> > >
> > > > While we are at it. How about auto-completion?
> > > >
> > > > On 11/17/05, Henry Minsky <[EMAIL PROTECTED]> wrote:
> > > > > There's a couple ways it could be done. Please file a feature
> > > > > request in
> > > > > JIRA, so we don't forget. Some sort of completion-from-history
> > > > > would be cool
> > > > > also.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 11/17/05, Scott Evans <[EMAIL PROTECTED]> wrote:
> > > > > > Pablo and I just had a great idea -- how about storing debugger
> > > > > > history
> > > > > > between app invocations? In cookies, or on the server? Maybe on a
> > > > > > per-app basis? Holy cow that would be nice.
> > > > > >
> > > > > > Thoughts?
> > > > > >
> > > > > >
> > > > > >
> > > > > > gse
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Laszlo-user mailing list
> > > > > > [email protected]
> > > > > > http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Henry Minsky
> > > > > Software Architect
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Laszlo-user mailing list
> > > > > [email protected]
> > > > > http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> > > > >
> > > > >
> > > > >
> > > >
> > > > _______________________________________________
> > > > Laszlo-user mailing list
> > > > [email protected]
> > > > http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> > >
> > >
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user