HOWTO: Skip instrumenting just one sub or function with FailSafe

0 Likes

Problem:

I know I can choose which modules and events to instrument, but how can I tell FailSafe not to instrument one of my subs or functions?

Resolution:

You can tell the AutoProcessor to skip adding code to a routine by placing a comment line

after the Sub, Property or Function declaration as follows:

Sub SomeCoolSub(A As String, Optional B As Variant)

     REM *** FailSafe SKIP

End Sub

Old KB# 11961
Comment List
Anonymous
Related Discussions
Recommended