-
Notifications
You must be signed in to change notification settings - Fork 4
Conditionally Trace Plugin Context via Secure Config
Daryl LaBar edited this page May 15, 2019
·
1 revision
The DLaBGenericPluginBase supports conditionally tracing either the context pre plugin execution, post plugin execution, or both. This is helpful when troubleshooting a plugin that is not currently throwing an exception, allowing you to manually walk the code, or create a unit text based on the context.
To enable context tracing, update the secure config of the plugin registration step you want to trace to one of the following values:
-
PluginBase.TracePreContext
- Traces the context pre-plugin-execution. -
PluginBase.TraceContext
- Traces the context pre-plugin-execution and again post-plugin-execution. -
PluginBase.TracePostContext
- Traces the context post-plugin-execution.
The Secure Configuration is used since it isn't solution aware, and can't be migrated from one environment to another.