I have an assembly that gets built and deployed to my SQL server. I am using VS 2008 Pro (client constraint) and .NET 3.5. I need to trace through the code to figure out what's going on, but when I run the sproc that starts the process by using .NET Remote Debugger, half the time it misses the breakpoints and then gets stuck. I then get a "Debugger cannot detach from the process".
Is there a better way to debug assemblies? Why does it hang?