dbTalk Databases Forums  

How to Debug SSIS Script Component

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to Debug SSIS Script Component in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chase
 
Posts: n/a

Default How to Debug SSIS Script Component - 10-10-2006 , 11:25 AM






Just a general question.

I'm just getting started designing some Integration Services Packages and am
wondering what's the best way to debug a Script Component in the Data Flow.

Currently I'm just saving all my changes to the script and running the
Package. When I did something wrong in the script, I get an error message
from Visual Studio pointing me to my script. Should I be able to set
breakpoints and view the value of objects in my script just like I could for
any old console application I develop in .NET?

Any suggestions are greatly appreciated!

Thanks,

- Chase

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: How to Debug SSIS Script Component - 10-10-2006 , 05:07 PM






Unfortunately Script Components do not really support debugging, features
such as breakpoints do not work. This a known limitation.

Script Tasks work fine with breakpoints, but components are more painful.

Writing log entries or firing events is perhaps the obvious way to get some
visibility of what is happening at run-time, but do remember to take them
out once you are happy with the code as they can be quite costly, especially
if firing for every row.


--
Darren
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

"Chase" <Chase (AT) discussions (DOT) microsoft.com> wrote

Quote:
Just a general question.

I'm just getting started designing some Integration Services Packages and
am
wondering what's the best way to debug a Script Component in the Data
Flow.

Currently I'm just saving all my changes to the script and running the
Package. When I did something wrong in the script, I get an error message
from Visual Studio pointing me to my script. Should I be able to set
breakpoints and view the value of objects in my script just like I could
for
any old console application I develop in .NET?

Any suggestions are greatly appreciated!

Thanks,

- Chase



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.