Deciphering warnings

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Wed Sep 23 12:38:09 CDT 2009


On 9/23/09 8:13 PM, "Beatrix Willius" <bwillius at gmx.de> wrote:

Hi Beatrix,

> have a bit of a problem with the warnings file, which contains the following
> lines:
> 
> Get Trigger : No trigger with name ChangeAttachmentCount
> Get View : No view with name CheckDuplicates
> Get SP : No SP with name PathSort
> Get SP : No SP with name MailboxName
> 
> These are just about all Triggers, Views and Functions that I create.
>  
> 1. What does it want to tell me? For instance the first trigger is created
> when the database is created.

Well, such warns are produced when is called

        GetTrigger(name)
        GetView(name)
        
And object was not found.

Sounds like some code try access your object before it is created.


> 2. Would it be possible to add a date stamp to each line in the warning? Then
> I have a much better chance to find out which line is causing the warning.

In theory yes.


> 3. When should I add WarningMode off in code? From experimenting just now it
> seems directly after creating or opening.

After Valentina.Init?
 
> Using Valentina 4.2, Realbasic 2009R2.1, Mac OS 10.5.8 on Mac Pro.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list