Debugging the Explorer Integration

To debug the communication between SmartSVN and the Explorer Integration, perform following steps:

  • Shutdown SmartSVN (make sure that no more smartsvn.exe process is showing in the Task Manager).
  • In directory %APPDATA%/syntevo/SmartSVN/<your-primary-smartsvn-version> remove the log.txt file and
  • Open log4j.xml and add following lines before the opening <root>-node:

<category name="smartsvn.server.state">
<level value="debug"/>
</category>

<category name="statuscache.shellintegration">
<level value="debug"/>
</category>

  • Start SmartSVN.
  • With the registry editor regedit.exe, open key HKEY_LOCAL_MACHINE\SOFTWARE\SyntEvo\SmartSVN and check its value which denotes the 'current' SmartSVN version, typically the latest installed version. Select the corresponding sub-key, e.g. 6.5 and add a new String Value with name socket-logging and value true.
  • Restart the Windows Explorer, either by killing the process from the Task Manager or using Start - Shutdown and pressing Cancel with <Ctrl>+<Alt>+<Shift>-keystroke hold down. Then use the Task Manager to start the process Explorer.exe again.
  • Browse a working copy which contains modified files. The communication between the Explorer integration and SmartSVN will be logged to %APPDATA%/syntevo/SmartSVN/explorer-integration.log. Be sure to not open this directory (for a long time) while socket-logging is enabled, because this gives a cycle and the log file will grow quickly.
  • Use regedit.exe to remove the value socket-logging which you have previously set, then restart the Windows Explorer again, as explained above.
  • Remove the previously introduced tags from log4j.xml and restart SmartSVN again.
  • Check explorer-integration.log and log.txt (from SmartSVN's settings directory), both should contain now debug information related to file state queries. Finally, send both files to smartsvn@syntevo.com.