如何在 Powershell 中创建支持断点/调试的 PSHost?
我需要为此实现特殊功能吗?
System.Management.Automation.Runspaces.Runspace
包含属性Debugger http://msdn.microsoft.com/en-us/library/system.management.automation.debugger%28v=vs.85%29.aspx。
向其事件添加处理程序DebuggerStop
并在您的主机中处理这些事件。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)