Debugging external code
To debug your external formula, you must be on a machine that has the Visual Studio development environment installed.
To initiate debugging, open the application and log in. This ensures that the application has started and that the W3WP or ASPNET_WP process has started running. W3WP is specific to server versions of windows while ASPNET_WP runs on desktop machines.
Once logged in, open the Visual Studio environment and navigate to
. Select the worker process for IIS and click the attach button.Once attached to the process, you may continue with the execution and testing of your event handler.
Note: The IIS worker process locks DLLs and will not
remove them from the internal assembly cache. This results in an “Cannot Access File”
error when attempting to recompile your project.
To resolve this error, IIS must be restarted each time a change is made and tested in the external DLL.