is Debug.enableFirstChanceException(true) no longer relevant? RRS feed

  • Question

  • in the developer preview this line was present at the beginning of the default.js file. in the consumer preview it's not anymore.

    also, when i do "throw 'someError';", it shows it to me even if the debug line is not there.. is it abandoned? do i still need it sometimes?

    http://blogs.microsoft.co.il/blogs/eladkatz @ElatKt

    Sunday, March 18, 2012 3:58 PM


  • Correct, that was removed for the Beta.  It was in the Developer Preview as a temporary measure since first-chance/user exceptions support was not completed in Visual Studio.

    In Visual Studio 11 Beta, you can control breaking on exceptions behavior through the Debug | Exceptions dialog.  By default it is set to break on any user-unhandled exception; you can also enable breaking automatically on first-chance exceptions if needed.

    Hope that helps.


    This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by Elad R Katz Sunday, March 18, 2012 10:17 PM
    Sunday, March 18, 2012 7:08 PM