Debugging a CLR Object with VS.NET 2005 and Sql Server 2005

If you want to debug a CLR Object with VS.NET 2005, it is an easy process.

  1. Select the "Attach to process" item from the tools menu.
  2. Make sure that the "all users" checkbox is selected in the bottom left.
  3. Scroll down and select sqlserver.exe.
  4. Hit the attach button in the bottom right.
  5. Select a breakpoint in your code.
  6. Activate the object and you should have something like the item below.

Voila...........

 

No Comments