Blog‎ > ‎

Help Viewer Messages

posted May 9, 2010, 4:52 AM by Robert Chandler   [ updated Jun 23, 2010, 6:35 PM ]

HTML Help Workshop had a command "HTML Help Messages" that enabled you to view low-level messages logged by the HTML help engine. 

You can do the same in MS Help Viewer 1.0 and view useful stuff like URL commands being processed.

Edit C:\Program Files\Microsoft Help Viewer\v1.0\HelpLibAgent.exe.config
and set DebugMode=true. 

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup>
    <supportedRuntime version="4.0" />
  </startup>
  <appSettings>
    <add key="debugmode" value="true" />
    <add key="SqmUploadUrl" value="http://sqm.microsoft.com/sqm/vstudio/sqmserver.dll"/>
  </appSettings>
</configuration>

Restart the Agent tray application and the Windows Event Log now shows Agent debug.


Verbose Logging

This gives a lot of noise like memory lock and unlock messages.

To enable verbose logging ()
edit C:\Program Files\Microsoft Help Viewer\v1.0\Microsoft.Help.dll.config
and set LogLevelVerbose=true

  <appSettings>
     <add key="LogLevelVerbose" value="true" />
  </appSettings>



Comments