Enable P4SCC command tracing

Debugging the Perforce plug-in for Visual Studio

PROBLEM

How do I enable debugging for the Perforce SCC Plug-in?


SOLUTION

Enable trace logging only if asked to do so by Perforce Technical Support in order to debug a specific Perforce SCC plug-in problem. To enable trace logging (2003.2 version of p4scc.dll and higher):

  1. Launch Visual Studio

  2. Choose the following menu and dialog options:
    Options -> Source Control -> SCC Provider -> "Advanced" button

  3. Select the Enable logging to file and Log All options.

  4. Restart Visual Studio

Notes
The SCC Plug-in trace information is written to a log file named "log.txt". The default location for this log file is the following directory:

    C:\Documents and Settings\<your_login_name>\.p4scc