Visual Studio 2019 Debugger Crashing When Attempting to Debug X++ Code

When attempting to debug X++ code the Visual Studio 2019 debugger can crash unexpectedly….

You can work around this issue by going back into your Dynamics 365 Finance and Operations environment and navigating to Options before moving to the debugging section

Check the check box “Debug items in the solution and items in specific packages“.

Then move into the Include Packages (Models) section and UNCHECK the models you will not be needing in the debugging session you will be running.

For example you can simply check your custom model and the ApplicationSuite

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s