More crash info.
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon May 5 10:01:49 CDT 2003
on 5/5/03 2:52 AM, Zav - Alex Zavatone at zavpublic at mac.com wrote:
>> OpenDataBase(myDB, myDBPath,1) -- CREATE DATABASE FROM SCRATCH
>
> The above line instantly crashes Director if Valentina has
> (mistakenly or on purpose) not been inited.
>
> Valentina should exit GRACEFULLY from such a condition.
Well, probably yes.
> It makes V very hard to learn for the new user. And problem children
> like myself (read: new customers) who learn by playing with the
> product spend their time relaunching from crashes and reentering code
> instead of learning the correct way to use valentina.
By the way, it looks you type your commands to Valentina in Message window.
This is not very good idea.
You need write scripts.
And later execute them.
Database do not like ANY mistake in steps.
So if you do this interactively you easy can do mistakes on some step.
Again, write scripts, and use DEBUGGER to see values of YOUR variables.
> Director allows you to play with the product with minimal painful
> repercussions such as data loss crashes. this was one of our highest
> priorities when I worked on the Director and Shockwave teams. Yes,
> it means "child proofing" the product but problems like this present
> substantial barriers to entry and use of what has the reputation of
> being a fine product.
---------------
Zav,
One more secret for you!!!
Do for now
ValentinaInit()
ValentinaDebugLevel(2)
Last line notify Valentina to be in DEBUG mode.
In this mode Valentina protect self from e.g. Bad references,
So it NOT crashes, but give you error in msg window.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list