Thursday 7 September 2023

Tips: Debugging into nuget and microsoft package

This is quick tip for debugging into nuget package and microsoft package;

The default behaviour in Visual Studio only show the exception when running in debugging mode.

  • In Visual Studio go to Tools –> Options –> Debugging –> Symbols:


  • Disable ‘Just my Code’ and enable Source Server and Source Link Support in Tools → Options → General



  • And make sure when running the application, make sure Debug → Windows → Exception Settings, is set for Common Language Runtime Exceptions (to trap any exception thrown) 


No comments:

Post a Comment