Is there a tool which can profile the .NET binaries (32-bit and 64-bit) during execution to generate an API trace providing details of the methods called and the parameters passed to each method?

Since .NET is JIT based, I think it should be feasible to do.

An API trace in the following format would be desirable:

<Address 1> <Method 1> <Parameter 1, Parameter 2>
<Address 2> <Method 2> <Parameter 1, Parameter 2>
<Address N> <Method N> <Parameter 1, Parameter 2>

And an extension of this question. Is there a tool which can provide the similar information for each Windows API called by the .NET Binary as well?

  • having a trace with the first parameter (an address) is easier as one can do that in pure .NET before code is compiled to native. In order to have an address you would probably need to go one layer lower to get that. Feb 4, 2019 at 7:55


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.