TA Enhancement With Db4oTool

This topic applies to .NET version only 

TA instrumentation can be done by appilying

Db4oTool utility to the ready .NET assemblies:

Db4oTool -ta assembly

Let's look at a simple example. We will use SensorPanel class from Activation example:

In your code you will need to add Transparent Activation support to the configuration:

Compile and run the application. Now, you can add TA support by using the following command-line:

Db4oTool -ta TAExamples.exe

use -vv option for verbose output:

Db4oTool -ta -vv TAExamples.exe

You can also apply type filter to TA enable only selected types:

Db4oTool.exe -vv -ta -by-name:S* TAExamples.exe

Db4oTool uses .NET regex to parse the -by-name parameter, in the example above all types starting with "S" will be TA enabled.

Run TA enabled assembly and compare results to the previous run.