Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending asserting messages to a log file.
Message
From
15/11/2006 17:09:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Refactoring and unit testing
Title:
Sending asserting messages to a log file.
Miscellaneous
Thread ID:
01170096
Message ID:
01170096
Views:
56
Hi All,

I am try tto log the assertions an application is throwing to a log file, but the assertion dialog box keeps appearing, requiring my interaction to continue. Is there a way to either not have the message box, to force it to answer "Ignore All"?
SET ASSERT ON
SET DEBUGOUT TO Result.Log

DO <some code that throws an asserts>

SET DEBUGOUT TO
SET ASSERT OFF

TYPE Result.log
Greg Reichert
Next
Reply
Map
View

Click here to load this message in the networking platform