【发布时间】:2014-09-03 15:52:16
【问题描述】:
我为Enterprise Architect 创建了一个插件,使用sharpdevelop,它工作正常。
当我尝试调试它时,我在所需位置添加一个断点,启动 EA,从我附加到这个 EA 进程的sharpdevelop。
但是,程序不会在断点处停止。
项目使用 .net 3.5 框架。
任何想法为什么我不能调试插件?
【问题讨论】:
标签: debugging enterprise-architect
我为Enterprise Architect 创建了一个插件,使用sharpdevelop,它工作正常。
当我尝试调试它时,我在所需位置添加一个断点,启动 EA,从我附加到这个 EA 进程的sharpdevelop。
但是,程序不会在断点处停止。
项目使用 .net 3.5 框架。
任何想法为什么我不能调试插件?
【问题讨论】:
标签: debugging enterprise-architect
您可能需要在系统上创建一个配置文件,指定在调试 EA.exe 进程时要使用的 .NET CLR 版本。
浏览到您的 EA 程序文件目录(例如 C:\Program Files (x86)\Sparx Systems\EA) 创建一个名为 EA.exe.config 的新文件 在记事本中打开文件。将以下内容粘贴到文件中并保存。
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v2.0.50727"/>
<supportedRuntime version="v4.0"/>
</startup>
</configuration>
【讨论】: