PowerTip – Disable JIT Debugger on SharePoint dev/test/demo machines

By | January 24, 2014

If you’re like me and like to have the SQL tools on your SharePoint 2010 boxes in demo/dev/test environments (we’d never do it in production, right?) then you’ll suffer from time to time with the SQL Server Management Studio (SSMS) JIT debugger flaring it’s nostrils everytime you recycle the Timer service.

Frikken’ annoying.

If you have full Visual Studio you can disable this via Tools > Options > Debugging > etc. but with SSMS, not so much. Fortunately, the debugger is defined within some registry keys which, through the gift of PowerShell, we can throw away with glee.

Open an elevated prompt and throw down:

Clearly there is no error handling here, perhaps you should add some?

I’ve always meant to post this tip here as I’m constantly looking up this script in my library and having it here makes it nicely GoogleBingable.

Usual caveats and warnings apply!

more to follow…

One thought on “PowerTip – Disable JIT Debugger on SharePoint dev/test/demo machines

  1. Lewis

    and it is nicely googleable/bingable – I found it first in the list when searching for “SharePoint JIT Disable”… But can you tell me the implications to SharePoint for disabling the JIT compiling? Does it stop SharePoint working?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *