Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logging on Error Information
Message
From
22/08/2017 09:35:36
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01653522
Message ID:
01653576
Views:
50
>>>Secondly I don't use SQL through; my application is using CA. And I do use SQLExec(). But the SQL Select/Insert/Update do not give me any problems since I learned how to catch them right at the point where they are executed. When I look at some customers' error log I see mostly the error caused by a problem instantiating objects. And so far, I have not learned how to catch those.
>>
>>CA is also SQL :). I use prg-based CA class and in each of the after* methods there's a check for the lResult parameter, and if .f., aError(ea), then olog.logArray(@ea).
>>
>>Just now I got the idea that I could pass this as a parameter - logging the state of the cursor adapter may also help.
>
>Maybe I should simply not have any bugs in my application and therefore won't need to log errors :)

Your app may be bugless and still have errors - caused by the surrounding OS, hardware, network, idiot (aka user).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform