RxSpy icon indicating copy to clipboard operation
RxSpy copied to clipboard

Attach visualizer to any .net 4.5 app

Open niik opened this issue 11 years ago • 1 comments

If you have a .NET app but aren't able to include the RxSpy.Server lib the UI should allow you to pick an .exe, rewrite it (I'm thinking cecil) and launch it for you. Just as any profiler would do.

niik avatar Feb 23 '14 04:02 niik

Actually here's what you do, this is even easier. Use Fody.ModuleLoader to make RxSpy.Server load itself automatically on DLL load. Then, you use the Debugger APIs (https://www.nuget.org/packages/Microsoft.Diagnostics.Runtime) to grab a reference to the AppDomain and load RxSpy.Server into it. Bam now you've got Attach to live process.

anaisbetts avatar Feb 23 '14 06:02 anaisbetts