Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

ProcMonDebugOutput

See Your Trace Statements in Process Monitor!

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

ProcMonDebugOutput

See Your Trace Statements in Process Monitor!

How it's work

pascal
uses
  ..., ProcMonLogger;

procedure SomeProcedure;
begin
  OpenProcessMonitorLogger;
  try
    if not ProcMonDebugOutput('Начало процедуры') then
      WriteLn('Ошибка логирования: ', GetLastError);
    
    // Здесь какой-то ваш код
    
    if not ProcMonDebugOutput('Конец процедуры') then
      WriteLn('Ошибка логирования: ', GetLastError);
  finally
    CloseProcessMonitorLogger;
  end;
end;

Procmon

Example

CobaltParser/mainwindow.pas