You can enable or disable the saving of the lock call stack of a process, by selecting the Enable Save Lock Call Stack or Disable Save Lock Call Stack popup menu command in the table on the Users view.
To enable or disable the saving of the lock call stack of a process
On the Users view, right-click on the process whose saving of the lock call stack you want to enable or disable.
To enable the saving of a disabled lock call stack, select the Enable Save Lock Call Stack command from the popup menu that is then displayed.
Conversely, if you want to disable the saving of a lock call stack, select the Disable Save Lock Call Stack command from the popup menu.
Repeat steps 1 and 2 of this instruction for each process whose saving of the lock call stack you want to enable or disable.
When the saving of a lock call stack of a process is enabled, the Show Lock Call Stack command from the popup menu in the Locks view enables you to display the call stack of a currently locked object of a process at the time it was locked. Any process can retrieve this information while the lock is held; for example, you can use it to help find and resolve locking problems during application development.