“The breakpoint will not currently be hit…” error when trying to debug a TSQL stored proc called by .NET code
问题 I am getting the error: "The breakpoint will not currently be hit. Unable to bind SQL breakpoint at this time. Object containing the breakpoint not loaded" When I did the steps to debug a stored proc called from my .net app? What should I be checking? (VS 2005 and SQL Server 2005 both running on the same PC, I can debug a stored proc if I do "step into" from the Server Explorer) 回答1: Make sure that in the project properties > Debug > 'Enable SQL server debugging' checked otherwise you won't