[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [grt-talk]Lisp coder position
From: |
Jason Dagit |
Subject: |
Re: [grt-talk]Lisp coder position |
Date: |
Sat, 29 Mar 2003 03:48:18 -0800 |
I noticed today that if you don't pass the right types to constructors
then bad things happen. Is there a way to turn on (or create) a
debug/testing mode so that constructors will throw intelligent error
messages?
An example of the problem I was having was a line like,
(grt-vector 0 0 0)
Which bombs, but doesn't say way...Or at least in my code it didn't
say why.
I was thinking maybe we could define some constants and check for them
somewhere, and perhaps combine with eval-when-compile, so that we
could enable a testing mode where you debug your scene. Then when you
have it all tweaked you turn it off for efficiency.
Jason