Please enable JavaScript to view this site.

Memory Validator Help

 

 

Thread filters

 

The thread level is the highest level at which filtering happens.

 

Thread filtering simply allows you to exclude data according to the thread id.

 

Filtering by thread id is only going to be useful for multi-threaded applications.

 

Whether you realise it or not, many applications have threads that you may want to exclude from your data as being beyond your control.

 

note The thread filter dialog below also serves the dual purpose of manually naming threads. The names are used elsewhere in the display of data and selection of threads.

 

 

The thread filter dialog

 

menu Managers menu instructionStep Thread Filter... instructionStep shows the Filter Memory by Thread Id dialog

 

The dialog is very simple - it just has a list of all the threads in the target program, with check boxes to enable and disable the display of data from each thread id.

 

thread-filter-dialog

 

 

Enable All instructionStep checks all threads, meaning that no thread filtering will occur

 

Disable All instructionStep unchecks all threads, making it easier to enable just one or two of many threads

 

To sort the list on id or name, click one of the headers.

 

 

Thread names

 

If a thread has been named using the Win32 RaiseException method, the Win32 SetThreadDescription(), or using mvSetThreadName() its name is shown in the list. See the link below for more details.

 

For threads not explicitly named by the above methods, Memory Validator provides automatically generated names based on the name of the function passed to CreateThread(), _beginthread(), or _beginthreadex(). If you want to give a thread a name here by double clicking on the name column and entering a name for the thread. Click outside the box or press return to complete the entry.

 

Names of threads will be used where relevant in other parts of the application. Eg thread selection in the Types and Sizes tabs.

 

seeAlsoHow can I give a name to a thread from my code?