File Tracking

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here

File tracking logs calls to the Windows file system for a process and its child processes. By calling the functions listed below, programs control when to turn this logging on and off and specify the log file to use.

In This Section

EndTrackingContext
Stop tracking the current context.

ResumeTracking
Resume tracking after a call to SuspendTracking.

SetThreadCount
Set the number of threads to use for tracking.

StartTrackingContext
Begin a new tracking context.

StartTrackingContextWithRoot
Begin a new tracking context with a specified root.

StopTrackingAndCleanup
End tracking and release resources used.

SuspendTracking
Temporarily suspend tracking.

WriteAllTLogs
Write out the tracking logs for all contexts.

WriteContextTLogs
Write out the tracking log for the current context.