NAV 2017: "A fatal debugger error has occurred"

A new error has started to occur, I think after I updated to the latest build of Dynamics NAV 2017 (CU6 build 16585).

When running the debugger then it works fine, as long as I’m stepping through the code. But if an error happens, then instead of going to the code in the debugger, then the error is displayed on the client and the debugger dies with:

A fatal debugger error has occurred.


Have you also seen this error?

More information: It happens whenever it hits an event (subscriber).

Well, did some more digging and eventually found this:

So it seems it is an error in cumulative update 6 (build 16585) of NAV 2017, and will be fixed in cumulative update 7.