脚本任务中的断点
为什么SSIS包(VS2005)的脚本任务中设置的断点被忽略??
我创建了一个新包,向其中添加了一个简单的脚本任务,无论我在该任务中的何处设置断点,它们都会被忽略。请帮忙!
Why are the breakpoints set in Script Tasks of SSIS package (VS2005) being ignored??
I created a new package, added one simple Script Task to it, and no matter where I set the breakpoints in that task, they are being ignored. Help please!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
似乎是一个已知的错误,并且有多种解决方法,具体取决于您运行包的方式以及后台发生的情况。该线程有很多关于它的好信息:
http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/710c4865-bc74-4f1d-a3b9-865109ee25c7/
希望它有一些适合你的东西!
Seems to be a known bug and there are several workarounds, depending on how you are running the package and what's going on in the background. This thread has a lot of good information about it:
http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/710c4865-bc74-4f1d-a3b9-865109ee25c7/
Hope it has something that will work for you!
您是否在仍处于调试模式时添加了断点?我经常这样做。如果在调试模式下添加断点,单击“停止调试”,然后再次在调试模式下运行包,断点将被忽略。
添加断点时请确保您不仍处于调试模式。
Did you add the breakpoint while you were still in Debug mode? I've done that often. If you add the breakpoint while in debug mode, click 'Stop Debugging', and then run the package in Debug mode again, the breakpoint will be ignored.
Make sure you are not still in debug mode when you add the breakpoint.
是的,它们被忽略了,我知道获取任何调试信息的唯一方法是使用 MessageBox.Show() 方法。
Yes they are being ignored, the only way I know of to get any debug information is using the MessageBox.Show() method.