I want to reverse engineer an application written in C#. I would like to set a breakpoint at a function and observe the input passed to it during the normal course of the application's functioning.

In other words, I'd like to debug a DLL (written in C#) during the normal execution of the main executable and put a breakpoint at a particular function in the DLL file.

  • Please clarify your question. It is unclear what you're looking for. – tmr232 Oct 2 '19 at 8:44

I've used dnSpy in production for debugging as it can be put on a USB. It's perfectly capable of decompiling and debugging dll's.

dnSpy screenshot

It has a pretty rich set of features. It's able to attach to running .net processes, decompile the code, edit variables at breakpoints and make some code changes on the fly.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.