【问题标题】:Debug Enterprise Architect Addin调试 Enterprise Architect 插件
【发布时间】:2014-09-03 15:52:16
【问题描述】:

我为Enterprise Architect 创建了一个插件,使用sharpdevelop,它工作正常。

当我尝试调试它时,我在所需位置添加一个断点,启动 EA,从我附加到这个 EA 进程的sharpdevelop。

但是,程序不会在断点处停止。

项目使用 .net 3.5 框架。

任何想法为什么我不能调试插件?

【问题讨论】:

    标签: debugging enterprise-architect


    【解决方案1】:

    您可能需要在系统上创建一个配置文件,指定在调试 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>
    

    【讨论】:

      猜你喜欢
      • 2018-01-20
      • 1970-01-01
      • 1970-01-01
      • 2017-09-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-27
      相关资源
      最近更新 更多