Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Log Calling Chain Issues
Message
From
13/06/2002 11:46:52
 
 
To
13/06/2002 11:29:07
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00667383
Message ID:
00667995
Views:
15
Thanks, Jason. Well, I can't wait to watch Kevin.

Do you know if he's going add this to the next release of the framework?

Thanks,

David


>Yep, this is a bug that somehow reared its ugly head at some point last summer. If you change the following code in cErrorMgr.CreateLogEntry(), located in cManager.vcx:
>
>Change from :
>
>DO WHILE !EMPTY(SYS(16,lnCount))
>	IF SYS(16,lnCount) != 'ON.'
>		REPLACE mCallChain WITH mCallChain + SYS(16,lnCount) + ;
>		CHR(10) IN ErrorLog
>	ELSE
>		EXIT
>	ENDIF
>	lnCount = lnCount + 1
>ENDDO
>
>lcAlias = This.ErrorMgrObj.GetAlias()
>
>This.ErrorMgrObj.New()
>
>
>Change to:
>
>
>lcAlias = This.ErrorMgrObj.GetAlias()
>This.ErrorMgrObj.New()
>
>DO WHILE !EMPTY(SYS(16,lnCount))
>	IF SYS(16,lnCount) != 'ON.'
>		REPLACE mCallChain WITH mCallChain + SYS(16,lnCount) + ;
>		CHR(10) IN ErrorLog
>	ELSE
>		EXIT
>	ENDIF
>	lnCount = lnCount + 1
>ENDDO
>
>
>Essentially, it was adding all the call chain information to the first record in the errorlog table. Don't worry, as part of Kevin's "mea culpa" on this one, he agreed to Riverdance for all of us at Whilfest and DevCon. The critics agree, it's better than Cats... you'll want to see it again and again.
>
>>The error log in my app is not storing the calling chain. This means that I know the error, when it occured, and the user's environment, but I do not know where the error occurred - the most important piece!
>>
>>Thanks,
>>
>>David
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform