At 13:17 2014-03-25, Richard Kaye <[email protected]> wrote:
You're right, Gene. Nothing can cover all situations. But any logical condition will do. Two generic strategies I've used when I don't necessarily have some well-defined condition are:

ASSERT .F. MESSAGE [Debug now?]

And

ASSERT NOT FILE([debugnow.txt]) MESSAGE [debug now?]

The first is pretty much a sledge hammer so every time I use that one I get prompted about going into debug mode. The latter allows me to control the debug prompt by using the presence or absence of an external file as opposed to some application condition.

I was using a variety of sledgehammer. Having to skip through a bunch of unneeded stuff is a timewaster. When the issue is event-related, it can also result in the event firings being different.

The OKL approach is even simpler than creating a file. Just enter a keystroke.

[snipped previous]

Sincerely,

Gene Wirchenko


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to