pInvokeLog MDA

Note

This article is specific to .NET Framework. It doesn't apply to newer implementations of .NET, including .NET 6 and later versions.

The pInvokeLog managed debugging assistant (MDA) is activated for each unique platform invoke signature used during execution.

Effect on the Runtime

This MDA has no effect on the CLR.

Output

A message indicating the platform invoke signature used during execution.

Configuration

Each match element filters the .dll files to which platform invoke calls are made.

<mdaConfig>
  <assistants>
    <pInvokeLog>
      <filter>
        <match dllName="user32.dll"/>
        <match dllName="kernel32.dll"/>
      </filter>
    </pInvokeLog>
  </assistants>
</mdaConfig>

See also