Hi,
I found that debugger stops responding once it hit the break-point inside code of a subscriber function. This happened after doing Cumulative Update 6.
Starting a debugger session after just stops responding. Compiling objects and restarting service does not help.
I was able to replicate this issue in standard Demo Database 10-0 on clean CU6 database and installation.
Anybody has similar issues?
This is a log from event viewer:
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.ALDebugger.get_Instance()
at Microsoft.Dynamics.Nav.Runtime.DebuggerCallStackDataProvider.GetAllItems(Boolean& isOrderedByPrimaryKeyAscending)
at Microsoft.Dynamics.Nav.Runtime.EagerVirtualDataProvider.Find(FindProviderRequest request, Func`1 onlyCurrentKeyNeededForNextRow)
at Microsoft.Dynamics.Nav.Runtime.EagerVirtualDataProvider.Count(DataProviderRequest request)
at Microsoft.Dynamics.Nav.Runtime.EagerVirtualDataProvider.Exists(DataProviderRequest request)
at Microsoft.Dynamics.Nav.Runtime.DataAccess.Exists(ExistsCacheRequest request)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IsEmpty()
at Microsoft.Dynamics.Nav.BusinessApplication.Page9504.OnFindRecord_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Page9504.OnFindRecord(NavText which)
at Microsoft.Dynamics.Nav.Runtime.NavForm.FindRecord(String which)
at Microsoft.Dynamics.Nav.Service.NsFormDataAccess.Find(String searchMethod)
at Microsoft.Dynamics.Nav.Service.NSPage.PositionDataAccess(NsDataAccess recDataAccess)
at Microsoft.Dynamics.Nav.Service.NSPage.PopulateSpecificPage(NavDataSet dataSet, NsDataAccess recDataAccess, Boolean& moreDataInReadDirection, Boolean& moreDataInOppositeDirection)
at Microsoft.Dynamics.Nav.Service.NSPage.PopulateCLRDataSet(NavDataSet dataSet, NsDataAccess recDataAccess, Boolean& moreDataInReadDirection, Boolean& moreDataInOppositeDirection)
at Microsoft.Dynamics.Nav.Service.NSPage.GetPageData(NavSession session)
at Microsoft.Dynamics.Nav.Service.NSPage.GetPage(NavSession session)
at Microsoft.Dynamics.Nav.Service.NSService.Microsoft.Dynamics.Nav.Types.INavService.GetPage(PageRequestDefinition pageRequestDefinition, NavRecordState state)
at SyncInvokeGetPage(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.RunInTransactionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, String syncMethodName, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass22_0.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, String syncMethodName, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass22_0.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, String syncMethodName, Object[] inputs, Object[]& outputs)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
0
Answers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.
The current issue is that if you have custom code in subscriber you can not debug that code using NAV2017 CU6 or CU7- code runs perfectly fine, but the debugger client won't see those breakpoints or it will crash.
Holy s**t I am officially stupid. I happily forgot about this, moved my old customizations into a subscriber codeunit, and then cannot debug it now. Thankfully it is only on my laptop. We will probably install the latest CU on the server and I will overwrite the objects with mine as I will not merge them again. Do you happen to know if they changed objects since CU6? As I am not sure if I should just overwrite the merged, customized objects or all of them.