How to debug CLR SP using Visual Studio 2005?

We know that automatic deplyment is currently broken.

How does one debug the stored procedures in this case?

Thanks,

Alexey

[194 byte] By [AlexeyYeltsov-MSFTTAPcustmr] at [2008-1-7]
# 1

Ok I got it.

I have to manually load .PDB as well:

CREATE ASSEMBLY ExecuteExternalReturnTable

FROM '<...>\ExecuteExternalReturnTable\bin\Debug\ExecuteExternalReturnTable.dll'

WITH PERMISSION_SET = UNSAFE;

ALTER ASSEMBLY ExecuteExternalReturnTable ADD FILE

FROM \'<...>\ExecuteExternalReturnTable\bin\Debug\ExecuteExternalReturnTable.pdb'

Then I can attach to SQL Server and my breakpoints will work.

Visual Studio Rosario Hot Topic