6
Shouts

Just in Time Debugging CLR Procs

published 708 days, 7 hours, 59 minutes ago posted by http://vistadb.myopenid.com/http://vistadb.myopenid.com/ 708 days, 19 hours, 30 minutes ago
Thursday, June 17, 2010 1:36:18 PM GMT Thursday, June 17, 2010 2:05:01 AM GMT

This topic comes up frequently when users are writing CLR Procs and Triggers.  How do I debug the code that is being hosted by the database? There is a very easy way to do it through the System.Diagnostics.Debugger namespace to launch the just in time debugger for Visual Studio.Prompting the user for the debugger You can prompt the user to attach a debugger at runtime using the System.Diagnostics.Debugger. You would NEVER want to do this at runtime in a production environment! Only for use on your deve...

category: SQL | clicked: 0 | | source: infinitecodex.com | show counter code
tags: SQL Server, VistaDB, Debugging, Clr procedures