How to: Set a Breakpoint in Script in a Script Task
This procedure describes how to set breakpoints in the scripts that are used in the Script task.
After you set breakpoints in the script for the Script task, the Set Breakpoints - <object name> dialog box lists the breakpoints with the built-in breakpoints available in the Script task.
The Script task supports the use of breakpoints during debugging, but the Script component does not have support for breakpoints. For suggestions on debugging the Script component, see Coding and Debugging the Script Component.
To set a breakpoint in script
In Business Intelligence Development Studio, open the Integration Services project that contains the package you want.
Double-click the package that contains the script in which you want to set breakpoints.
To open the Script task, click the Control Flow tab, and then double-click the Script task.
Click Script and then click Design Script.
In Microsoft Visual Studio for Applications, locate the line of script on which you want to set a breakpoint, right-click it, point to Breakpoint, and then click Insert Breakpoint. The breakpoint icon appears on the line of code.
On the File menu, click Close and Return.
To save the package, click Save Selected Items on the File menu.