Skip to content

Debug and explanatory messages describing the course of events and the current state of the process #2

@abzalov

Description

@abzalov

This is probably more of a discussion.

I made a separate branch OutputDebugMessage - master...abzalov:LockedList:OutputDebugMessage
These changes were needed in our company and turned out to be very useful to us.

I don’t know if they should be transferred to the main repository, but perhaps they will be useful to someone else.
What do you think about it?

Here's a brief description of the new feature.
Added debug messages and explanatory messages describing the course of events and the current state of the process:

  • about found locking applications
  • about applications that should be skipped (response from callback)
  • about applications that will be closed (and which way)
  • about the number of handles and modules to be processed, and about the quantities processed so far (message about every 5000 processed handles)
  • about whether the LockedList64.dll plugin was found or not and details of the process of working with it
  • about frozen threads that had to be terminated
  • about aborted search process in the user interface or canceling SilentSearch using a callback
  • about unknown handle types
  • about various errors that interfere with further work (memory allocation, exceeding the permissible buffer size, etc.)

By default, messages are translated to OutputDebugString.
The user can set his own callback (via LockedList::SetOutputDebugCallback) to receive all messages into his installer for subsequent logging or other processing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions