Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach visualizer to any .net 4.5 app #18

Open
niik opened this issue Feb 23, 2014 · 1 comment
Open

Attach visualizer to any .net 4.5 app #18

niik opened this issue Feb 23, 2014 · 1 comment

Comments

@niik
Copy link
Owner

niik commented Feb 23, 2014

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.

@anaisbetts
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants