Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Debugging an Unmanaged Application

Topics

Topic

Detail

See also

Usage

If you are debugging managed code using an unmanaged application, the debugger might fail to detect the correct version of the Common Language Runtime (CLR) to load.

You should specify a config file if you don’t already have one for the debug application specified in the Debug command of your script.

The config file should reside in the same directory as your application, and take the format:

name.exe.config

where name is the name of your application.

The version of the CLR you specify should match the version loaded by the managed code invoked by the debuggee.

The following is a sample config file:

 

<configuration>

            <startup>

                    <requiredRuntime version="version "/>

            </startup>

</configuration>

 

Version is the version of the CLR targeted by your plugin or COM code.

 

http://www.msdn2.microsoft.com/en-us/library/9w519wzk.aspx (Online Resource)