Debugging 2012

  • Hi,

    I'm having trouble getting remote debugging working through SSMS 2012 and could use a bit of help.

    Debugging on the remote machine (Svr1) works fine, but not from my workstation (ws1).

    I am an administator on both machines and a sysadmin, as is the service account.

    The breakpoint is a hollow red circle with warning triangle in the bottom right.

    "The breakpoint will not currently be hit. Unable to bind at this time. Object containing the breakpoint not loaded."

    Output : Auto-attach to process '[1556] [SQL] Svr1' on machine 'Svr1' succeeded.

    The process ID in the output points to the correct instance.

    Svr1 : Windows 2008 R2 Standard SP1. (Windows Firewall enabled)

    WS1 : Windows 7 SP 1

    SQL : 2012 evaluation on both machines. (http://www.microsoft.com/sqlserver/en/us/get-sql-server/try-it.aspx)

    Although I get many hits on this when searching, I have not been able to find any good documentation on what the problem is or a solution.

    Btw, even if I disable the firewall I get the same results.

    Any idea's?



    For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.[/url]

    "Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort

  • This is also not working for SQL 2008 R2 dbs.

    Locally they do work but from my workstation they don't.

    Even though all Windows Firewalls are disabled, I configured the exceptions anyway. Didn't help :angry:

    Here are a bunch of links I found.

    http://msdn.microsoft.com/en-us/library/cc646024.aspx

    http://blogs.msdn.com/b/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-2.aspx

    http://gaurangpatel.net/remote-debugging-in-sql-server-management-studio

    I am sysadmin and Administrators member on the remote servers. (Also my own machine.)

    Has anyone else set this up before?

    Cheers.



    For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.[/url]

    "Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort

  • When adding the exception for SvcHost.exe, I get the following message.

    Windows services have been restricted with rules that allow expected behavior only. Rules that specify host processes, such as svchost.exe, might not work as expected because they can conflict with Windows service-hardening rules.

    Are you sure that you want to create a rule referencing this process?

    Here's bit of info on Service-Hardening.

    http://sourcedaddy.com/windows-7/understanding-windows-service-hardening.html



    For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.[/url]

    "Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply