Explorer.exe to debug the Application Integration. ![]() ![]() When you are finished debugging, exit Visual Studio without saving the project.įollowing is a list of host applications related to Meridian Enterprise that you can attach to debug VBScript code:.Just like with using the Microsoft Script Debugger, to make changes to script code, you must edit it in Meridian Enterprise Configurator, save your changes, reopen the vault in the host application, and restart this task from step 5. To open the BlueCielo VB Script window, in the Solution Explorer expand Script Documents, expand AMScriptHost, and double-click BlueCielo VB Script. Whenever the event handler code module is loaded, you can set breakpoints in the BlueCielo VB Script window and step through the code similar to debugging in PowerUser as described in Microsoft Script Debugger. You might have to step over (press F10) some configuration expressions or sub-procedures before the particular expression, sub-procedure, or function that you want to debug is entered. When script first executes after the process is attached to Visual Studio, the vault's active VBScript configuration expressions and the event handler code module are loaded in Visual Studio. The next statement that will execute is highlighted and execution stops to allow you to debug. The Windows focus switches to Visual Studio and a new window opens, either VBScript - script block if a configuration expression is about to execute or BlueCielo VB Script if a sub-procedure or function in the event handler code module is about to execute. Perform the action in the host application that will run the VBScript code that you want to debug. On the Debug menu, select Break All (or press Ctrl+Alt+Break).The Solution Explorer opens and lists one or more occurrences of AMScriptHost. If the Attach Security Warning dialog appears, click Attach. For example, to debug a Meridian PowerWeb session, select w3wp.exe. In Available Processes, select the name of the executable for the host application that you that you started in step 1 and click Attach.The Available Processes list refreshes to show additional processes. Enable Show processes from all sessions.On the Tools menu, select Attach to Process.The name of the project is irrelevant because you will not add any code to the project and will discard it when you are finished using the debugger. The key to debugging VBScript from applications other than PowerUser is the ability of Visual Studio to attach itself to those applications. All other Windows applications where your VBScript code runs can be debugged using Visual Studio as described below.You must log off of Meridian PowerWeb to close the current session and then log back on again to load any script changes that you make. ![]() The Meridian vault configuration is cached by your browser during each Meridian PowerWeb session. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |