I run on Windows 8 with IE10 (upgrading to 8.1 and IE11 later today) and I have random issues with my developer tools (F12) when developing for Microsoft Dynamics CRM 2011. From time to time, my code executes when I want it to, but I cannot debug it because the related javascript does not appear in the F12 developer tools. This happens randomly and without any obvious cause.
To be perfectly clear what the issue is: I have a Weekkalender_main_library.js file, which has been deployed from Visual Studio 2012 through the CRM Development toolkit. The javascript is added to Dynamics CRM 2011. It publishes without issues. I can add event handlers to a field just fine. The eventhandlers work, but there's a logical error in them. but when I press F12 and then open the scripts tab, the Javascript does not appear in the file dropdown. it shows all javascripts which are in CRM by default, and after some searching it seems like the javascript is in a dynamic block.
What causes this and how do I prevent it from occuring?
debug
statement to get into that block if you're having trouble. – Mike_Matthews_II