Introduction
In this article we are going to look into the options to debug the SSIS package, mainly on the Break point options available with SSIS. As you all know breakpoints are nothing but a point where the developer can hold of and see the how the code executes at that particular point. In SSIS similar break point options are provided to check the status of the task at that particular point. SSIS breakpoints are provided with some events based on which we can track the execution plan and see how the process flows. We will see the step by step process on how to enable breakpoints and how to use the windows available in order to analyze the breakpoint execution.
Steps
Follow steps 1 to 3 on my first article to open the BIDS project and select the right project to work on integration services project. Once the project is created, we will see on how to use breakpoint options available with SSIS.
I have created a project here which will copy the data from SQL db to Excel sheet from the Northwind database. I have created a Dataflow task along with OLEDB Source and Excel destination tasks to make the flow perfect. Now in order to activate the Break points just right click on the DataFlow task and select "Edit Breakpoints" as shown in the following screen.

It will open a window which has the list of events available for the SSIS process execution. We need to select our exact needed break point to check the process at that particular point. There are about 10 events available and are as follows.
- OnPreExecute: Triggered when task is about to Execute
- OnPostExecute: Triggered when task is executed
- OnError: Triggered when error occurred with the Task
- OnWarning: Triggered when task just throws a warning
- OnInformation: Triggered when task is about to provide some information's
- OnTaskFailed: Triggered by task host when it fails to execute.
- OnProgress: Triggered to update progress about task execution.
- OnQueryCancel: Triggered in task processing when you can cancel execution.
- OnVariableValueChanged: Triggered when the variable value is changed
- OnCustomEvent: Triggered by tasks to raise custom task-defined events.





Join the conversation! Your thoughts help the community grow.