{"id":1793,"date":"2007-11-08T22:44:37","date_gmt":"2007-11-08T22:44:37","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2007\/11\/08\/turning-off-just-in-time-debugging-on-your-servers\/"},"modified":"2007-11-08T22:44:37","modified_gmt":"2007-11-08T22:44:37","slug":"turning-off-just-in-time-debugging-on-your-servers","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/turning-off-just-in-time-debugging-on-your-servers\/","title":{"rendered":"Turning off Just-in-Time Debugging on your servers"},"content":{"rendered":"<p>I saw <a href=\"http:\/\/team-foundation-server.blogspot.com\/\">Mac Noland&#8217;s<\/a> post tonight about <a href=\"http:\/\/team-foundation-server.blogspot.com\/2007\/11\/disabling-visual-studio-2005-just-in.html\">turning off the just-in-time debugging<\/a> popup window on his TFS server.&nbsp; We&#8217;ve had this problem internally.&nbsp; If you have a debugger installed on your computer, such as Visual Studio or WinDbg, the installation will enable just-in-time debugging such that when something crashes you&#8217;ll get a window asking you whether you want to debug the problem.<\/p>\n<p>That&#8217;s a great feature, except when there&#8217;s no one around to dismiss the dialog.&nbsp; If you have a build computer, for example, and someone&#8217;s custom msbuild task crashes in the middle of the night, you&#8217;ll probably just want the msbuild process to exit rather than hang the build.&nbsp; It gets even worse if you connect to the computer via terminal services and don&#8217;t connect to the console session, because you won&#8217;t even see the dialog.&nbsp; The same is true on your application tier as well.<\/p>\n<p>To turn off JIT debugging, you&#8217;ll need to delete the two registry keys described in <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/library\/5hs4b7a6(VS.80).aspx\">Visual Studio Debugger Just-In-Time Debugging<\/a>.<\/p>\n<div class=\"wlWriterSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:eb0970aa-5596-4474-97cf-f9529753c0c4\" style=\"padding-right: 0px;padding-left: 0px;padding-bottom: 0px;margin: 0px;padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/debugging\" rel=\"tag\">debugging<\/a>, <a href=\"http:\/\/technorati.com\/tags\/just-in-time%20debugging\" rel=\"tag\">just-in-time debugging<\/a>, <a href=\"http:\/\/technorati.com\/tags\/jit\" rel=\"tag\">jit<\/a>, <a href=\"http:\/\/technorati.com\/tags\/crash\" rel=\"tag\">crash<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I saw Mac Noland&#8217;s post tonight about turning off the just-in-time debugging popup window on his TFS server.&nbsp; We&#8217;ve had this problem internally.&nbsp; If you have a debugger installed on your computer, such as Visual Studio or WinDbg, the installation will enable just-in-time debugging such that when something crashes you&#8217;ll get a window asking you [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[7,8],"class_list":["post-1793","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-team-build","tag-team-foundation"],"acf":[],"blog_post_summary":"<p>I saw Mac Noland&#8217;s post tonight about turning off the just-in-time debugging popup window on his TFS server.&nbsp; We&#8217;ve had this problem internally.&nbsp; If you have a debugger installed on your computer, such as Visual Studio or WinDbg, the installation will enable just-in-time debugging such that when something crashes you&#8217;ll get a window asking you [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/1793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=1793"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/1793\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=1793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=1793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=1793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}