The following alphabetical list provides a convenient look-up for all the command line arguments used in automated regression testing.
Option
|
Description |
Print command line help on the standard output. |
|
Pass the remainder of the command line (after -allArgs) to the program being launched. |
|
Pass command line arguments to the target program. Can be used multiple times. |
|
Load a previous session as the baseline session against which the recorded session is compared for regressions or improvements. |
|
Turn data collection on or off |
|
Turn collection of stdout on or off |
|
Specify a file from which to read the command line arguments. |
|
Apply the filters loaded using -sessionFilters to the baseline session. |
|
Apply the filters loaded using -globalFilters to the baseline session and the comparison session. |
|
Obsolete and ignored if present. |
|
Set the working directory in which the program is executed. |
|
Force the Memory Validator user interface to be displayed during the test. |
|
Point to a file listing the DLLs to be hooked for the test. |
|
Never display dialog boxes (including error boxes) in the target application that is being profiled |
|
Specify a runtime configuration option to the .Net runtime. |
|
Specify if you are launching a self contained or framework dependent .Net Core application. |
|
Environment variables for program, as a series of name/value pairs |
|
Export the session data as an HTML or XML file when Memory Validator has finished collecting data from the target program. |
|
Specify the file encoding for the exported file |
|
-exportSessionLeakedObjectsHTML |
Export the data on the Types tab as an HTML or XML file when Memory Validator has finished collecting data from the target program. Only data for objects with a non-zero Count value is exported. |
Exports the data on the Types tab as an HTML or XML file when Memory Validator has finished collecting data from the target program. |
|
Specify a plain text file listing file locations to be used during testing. |
|
When the session objects are exported to an HTML or XML file, output is filtered using the filters loaded using -globalFilters. |
|
Use the old style XML report without the <EVENT> tag when exporting the results of a session comparison. |
|
Use the old style (flat) XML report without the <EVENT> tag. |
|
Specify filters to be applied to the sessions loaded for the regression test. |
|
Print command line help on the standard output. |
|
Hide the Memory Validator user interface during the test. |
|
Include allocated memory data in the export. |
|
Include Thread ID and Timestamp information as additional data. |
|
Make the HTML export colour coded. |
|
Apply filters (session or global) to data for error conditions. |
|
Include data describing error conditions. |
|
Include stack traces for error conditions. |
|
Include free memory data in the export |
|
Apply filters (session or global) to data for handle allocations. |
|
Include data describing handle allocations. |
|
Include stack traces for handle allocations. |
|
Only include information about leaked data. |
|
Include data describing memory allocations. |
|
Apply filters (session or global) to data memory allocations. |
|
Include stack traces for memory allocations. |
|
Include reallocated memory data in the export. |
|
Include data describing TRACE and OutputDebugString information. |
|
Apply filters (session or global) to data for trace information. |
|
Include stack traces for trace information. |
|
Obsolete and ignored if present. |
|
Set the numeric id of a process for Memory Validator to attach to. |
|
Set the name of the process for Memory Validator to attach to. |
|
Hide the target application during the test. |
|
Specify the full file system path to the service to monitor with Memory Validator, including any extension. The service is not started by Memory Validator but my an external means. |
|
Obsolete and ignored if present. |
|
Obsolete and ignored if present. |
|
Set the number of sessions that can be loaded at once. |
|
Obsolete and ignored if present. |
|
Specify the full file system path of the executable target program to be started by Memory Validator, including any extension. |
|
Specify the .Net Core DLL that identifies the program being monitored. Use in conjunction with -programToMonitorEXE. |
|
Changes which program the data is collected from but does not change which process Memory Validator initially launches. |
|
Specify the nth invocation of the programToMonitor which is to have its data collected. |
|
Automatically refresh the Analysis tab in Memory Validator once a test is complete. |
|
Automatically refresh the Hotspots tab in Memory Validator once a test is complete. |
|
Automatically refresh the Memory tab in Memory Validator once a test is complete. |
|
Automatically refresh the Types tab in Memory Validator once a test is complete |
|
Automatically refresh the Pages tab in Memory Validator once a test is complete. |
|
Save the session data when all data has finished being collecting from the target program. |
|
Compare two sessions, producing an HTML or XML report detailing any regression and improvements. |
|
Specify filters to be applied to the sessions loaded for the regression test. |
|
Load a previously created session to act as the comparison session and which will be compared against a baseline session, for regression testing. |
|
Force errors to be displayed using a message box when running from the command line. |
|
Environment variables for Memory Validator, as a series of name/value pairs |
|
Point to a previously saved settings file to be used for the test. |
|
Obsolete and ignored if present. |
|
Name a .Net Core dll that identifies the process to wait for. Use in conjunction with -waitNameEXE. |
|
Set the name of a process that Memory Validator will wait for. |
|
Include allocated memory data in the export. |
|
Include Thread ID and Timestamp information as additional data. |
|
Apply filters (session or global) to data for error conditions. |
|
Include data describing error conditions. |
|
Include stack traces for error conditions. |
|
Include free memory data in the export. |
|
Apply filters (session or global) to data for handle allocations. |
|
Include data describing handle allocations. |
|
Include stack traces for handle allocations. |
|
Only include information about leaked data. |
|
Include data describing memory allocations. |
|
Apply filters (session or global) to data memory allocations. |
|
Include stack traces for memory allocations. |
|
Include reallocated memory data in the export. |
|
Include data describing TRACE and OutputDebugString informationApply. |
|
Apply filters (session or global) to data for trace information. |
|
Include stack traces for trace information. |
To run 32 bit memory validator run C:\Program Files (x86)\Software Verify\Memory Validator x86\memoryValidator.exe
To run 64 bit memory validator run C:\Program Files (x86)\Software Verify\Memory Validator x64\memoryValidator_x64.exe