如何将我的应用程序附加到另一个.Net应用程序中?

时间:2022-06-02 20:35:48

I'm trying to create a quick debugger, wherein I can attach my application to a running .net process and execute scripts from there. I'm using C#.

我正在尝试创建一个快速调试器,其中我可以将我的应用程序附加到正在运行的.net进程并从那里执行脚本。我正在使用C#。

How will I do it?

我该怎么办?

Thanks :)

1 个解决方案

#1


You can attach to a process in Visual Studio and use VS tools for debugging. What does your application do that would require it to be attached to other processes outside of VS?

您可以附加到Visual Studio中的进程并使用VS工具进行调试。你的应用程序做了什么,需要将它附加到VS之外的其他进程?

http://msdn.microsoft.com/en-us/library/c6wf8e4z.aspx

#1


You can attach to a process in Visual Studio and use VS tools for debugging. What does your application do that would require it to be attached to other processes outside of VS?

您可以附加到Visual Studio中的进程并使用VS工具进行调试。你的应用程序做了什么,需要将它附加到VS之外的其他进程?

http://msdn.microsoft.com/en-us/library/c6wf8e4z.aspx