Debugging an Unmanaged Application

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:


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.

This is a sample config file:



                    <requiredRuntime version="version "/>



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