

First is when Script Debugger is a separate executable that can be attached to the primary application process and debug. NET Script debugger into your applications. The Script Debugger provides process-wide debugging, meaning that a script being debugged has to run in a separate process otherwise, the debugger will freeze itself when stopping the debugging process. It then stops all threads in that process allowing inspecting variables, a call stack evaluation, continuing the process, or a step-by-step execution. NET Script Debugger is attached to a managed process and waits for some debug event (i.e., hitting breakpoints). NET Framework and used internally by the Visual Studio debugger.ĭuring a debugging session. Please refer to the following example of how the application can execute scripts in the separate application domain:ĪlterNET Script Debugger is based on the NET Framework Command-Line Debugger (mdbg), built on top of ICorDebug interfaces. In both cases, scripts can access application-defined objects via interprocess-communication, i.e. Then these DLLs can be safely unloaded when the script finishes its work.

NET DLLs loaded in a different application domain). To deal with these DLLs accumulated in application memory, applications can compile scripts into a separate executable (or into. These assemblies cannot be unloaded afterward, potentially creating problems due to the application memory footprint growing if scripts are constantly updated/recompiled. NET assemblies (DLLs) and loaded into an application domain. NET scripts accessing application-defined objects must be compiled by Microsoft. Certain limitations come with this technology we list below the most common ones experienced by our customers: NET applications with user-defined logic. In our products and solutions, we rely heavily on Microsoft compiler services to provide C# and Visual Basic scripting capabilities to extend.
