Please enable JavaScript to view this site.

Thread Validator Help

Navigation: Command Line Interface

Example Command Lines

Scroll Prev Top Next More

Typical command line examples

 

The following examples demonstrate a few different scenarios in which you might want to use Thread Validator via the command line.

 

To run 32 bit thread validator run C:\Program Files (x86)\Software Verify\Thread Validator x86\threadValidator.exe

 

To run 64 bit thread validator run C:\Program Files (x86)\Software Verify\Thread Validator x64\threadValidator_x64.exe

 

 

Example 1 - running a session and saving the results

 

This example starts the application, showing no progress dialog whilst attaching to the process.

 

On completion, the resulting session is saved, and some tabs are refreshed.

 

The last tab refreshed is displayed, resulting in the ActiveObjects tab being the current tab.

 

-program "c:\myProgram.exe" -saveSession "c:\myResults\session1.tvm" -displayUI -refreshSummary -refreshLocks -refreshActiveObjects

 

A brief explanation of each argument:

 

Option

 

Argument

Description

-program

"c:\myProgram.exe"

The target program to launch

-saveSession

"c:\myResults\session1.tvm"

After the application finishes, the session should be saved in this file

-displayUI


Show the user interface during the thread test

-refreshSummary


These tabs should be refreshed when the test completes

-refreshLocks



-refreshActiveObjects



 

 

Example 2 - running a session and saving and exporting the results

 

This example starts the application, showing no progress dialog whilst attaching to the process.

 

On completion, the resulting session is saved, and some tabs are refreshed.

 

The last tab refreshed is displayed, resulting in the ActiveObjects tab being the current tab.

 

-program "c:\myProgram.exe" -saveSession "c:\myResults\session1.tvm" -exportAsHTML "c:\myResults\session1.html" -displayUI -refreshSummary -refreshLocks -refreshActiveObjects

 

A brief explanation of each argument:

 

Option

 

Argument

Description

-program

"c:\myProgram.exe"

The target program to launch

-saveSession

"c:\myResults\session1.tvm"

After the application finishes, the session should be saved in this file

-exportAsHTML

"c:\myResults\session1.html"

After the application finishes, the exported data should be saved in this file

-displayUI


Show the user interface during the thread test

-refreshSummary


These tabs should be refreshed when the test completes

-refreshLocks



-refreshActiveObjects