Debug & Logging of Plug-In

Hi,

Is there any way to debug Plug-In execution?

I tried to attach to the process of the Trados, but nothing happened.

In addition - what is the best practice for logging in the Plug-In? Is there any unified log storage I should write to, or should I write my logs to a regular file?

Thanks,

Memi

Parents Reply
  • Hi Memi,

    with reference only to the issue you are having with the app.config file, as follows:

    I am guessing from the previous responses that you receive an exception when you try to instantiate the web service or maybe a database whose connection settings are located in the app.config, correct?

    If this is the case, then one way to avoid this exception is by writing the binding information for connecting with the web service or database directly in the class as opposed to a dependency on recovering that data from the app.config file during run-time. It should be possible to recover various examples of this on the net.

    Patrick Andrew Hartnett | Developer Experience | Team Lead | RWS Group

Children