How to add custom messages to Procmon traces

12/01/2018 Stuart Moore   ID: 294478

One of the challenges of debugging applications is identifying where in the logs you should start looking for problems. This problem is compounded if you need to pass the logs to Cloudhouse Engineering team for analysis. The following utility can be used to record custom messages in the logs, and serve as helpful markers for the purposes of debugging. For example, "Started workflow", "Pressed print", "Ended workflow" or "Application crashed at this point".

  1. Download the attachment. InjectDebugMessages.zip
  2. Start Procmon.exe.
  3. Enable profiling events to be visible in Procmon
  4. Run DebugText.exe.
  5. While the application is running, whenever you need to create a custom message type in the DebugText UI and press 'Send'. 


Disclaimer

Sample scripts and utilities are not supported under any Cloudhouse standard support program or service, they are provided for debug and diagnostic purposes only. The sample scripts and utilities are provided AS IS without warranty of any kind. Cloudhouse further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Cloudhouse, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample scripts or documentation, even if Cloudhouse has been advised of the possibility of such damages.

Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support