Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Debugger is not breaking the Code .

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Debugger is not breaking the Code and the show the Following error and the Wait for Break Windows closes .

Can anyone help me ??

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Debugger is not breaking the Code .

    Hi i got the Solution .

    Deleted the lines in 'Debugger Breakpoint' 2000000100. now its works

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,614 on at
    RE: Debugger is not breaking the Code .

    Please try to compile all the objects and run Build Server Application Objects from Tool Menu and try to restart the services.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Debugger is not breaking the Code .

    Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException

    Fatal: False

    ShowError: True

    Message: The server "Nav_cu22_2016_test" was unable to process the request. The application will close.

    StackTrace:

        at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)

        at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()

    Source: Microsoft.Dynamics.Nav.Client.WinClient

    HResult: -2146233088

    ----------------------------------

    Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException

    Message: The server "Nav_cu22_2016_test" was unable to process the request. The application will close.

    StackTrace:

        at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)

        at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)

        at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.InvokeApplicationMethod(ApplicationCodeType objectType, Int32 objectId, String methodName, NavDataSet& dataSet, NavRecordState& state, Object[]& args)

        at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.InvokeOnNewRecord(NavRecord record, NavRecord xrec, NavRecordState state, Object[] args)

        at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.OnNewRecord(Boolean clearFormState, NavRecord xrec, Object[] args)

        at Microsoft.Dynamics.Nav.Client.DataBinder.NavBindingManager.ClearFormState()

        at Microsoft.Dynamics.Nav.Client.Communication.NavBindingManagerConsumerPort.BindingManagerDataLoaded(Object sender, EventArgs e)

        at System.EventHandler.Invoke(Object sender, EventArgs e)

        at Microsoft.Dynamics.Framework.UI.BindingManager.ChangeStateToFilled()

        at Microsoft.Dynamics.Framework.UI.BindingManager.DoFill(DataReaderFillOptions fillOptions)

        at Microsoft.Dynamics.Framework.UI.BindingManager.Fill(BindingManagerFillOptions options)

        at Microsoft.Dynamics.Framework.UI.LogicalFormRefresher.TryRefresh()

        at Microsoft.Dynamics.Framework.UI.ConsumerPort.MessageAvailable(IMessage message)

        at Microsoft.Dynamics.Framework.UI.CommunicationChannel.SendConsumerMessage(IMessage message)

        at Microsoft.Dynamics.Framework.UI.CommunicationChannel.ProcessMessage(MessagePriority minimumMessagePriority)

        at Microsoft.Dynamics.Framework.UI.CommunicationBroker.<>c__DisplayClass4.<HandleOneMessage>b__2()

        at Microsoft.Dynamics.Framework.UI.CommunicationBroker.ProcessMessage(Func`1 handleMessage)

        at Microsoft.Dynamics.Framework.UI.WinForms.CommunicationMessageHandler.HandleOneMessage()

        at Microsoft.Dynamics.Framework.UI.WinForms.CommunicationMessageHandler.OnIdle()

        at Microsoft.Dynamics.Framework.UI.WinForms.ClientSession.ClientSessionIdle(Object sender, EventArgs e)

        at System.EventHandler.Invoke(Object sender, EventArgs e)

        at System.EventHandler.Invoke(Object sender, EventArgs e)

        at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)

        at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

        at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

        at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

        at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()

        at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()

        at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)

    Source: Microsoft.Dynamics.Nav.Client.ServiceConnection

    HResult: -2146233088

    ----------------------------------

    Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException

    Message: The server "Nav_cu22_2016_test" was unable to process the request. The application will close.

    HResult: -2146233088

    ----------------------------------

    Type: System.InvalidOperationException

    Message: Path is not valid

    StackTrace:

        at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args)

        at Microsoft.Dynamics.Nav.Service.NSFormApplicationCode.Invoke(NavSession session)

        at SyncInvokeInvokeApplicationMethod(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, Object[] inputs, Object[]& outputs)

        at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

        at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    Source: Microsoft.Dynamics.Nav.Ncl

    HResult: -2146233079

    ----------------------------------

    Type: System.Reflection.TargetInvocationException

    Message: Exception has been thrown by the target of an invocation.

    StackTrace:

        at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

        at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

        at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

        at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args)

    Source: mscorlib

    HResult: -2146232828

    ----------------------------------

    Type: System.InvalidOperationException

    Message: Path is not valid

    StackTrace:

        at Microsoft.Dynamics.Nav.Runtime.Debugger.MethodScopeScaffolding.GetDescendantScaffolding(String& path, NavMethodScope methodScope, Object& currentInstance, List`1& childSequence, Object& parentInstance)

        at Microsoft.Dynamics.Nav.Runtime.Debugger.WatchItemsScaffolding.<Update>d__0.MoveNext()

        at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

        at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

        at Microsoft.Dynamics.Nav.Runtime.ALDebugger.GetWatchesForStackFrame(Int32 stackFrameNumber)

        at Microsoft.Dynamics.Nav.Runtime.DebuggerWatchValueDataProvider.<EnumerateWatchValuesForStackFrame>d__8.MoveNext()

        at System.Linq.Enumerable.<SelectManyIterator>d__31`3.MoveNext()

        at System.Linq.Enumerable.<SelectManyIterator>d__31`3.MoveNext()

        at Microsoft.Dynamics.Nav.Runtime.ResultSet.TryGetAtIndexWithoutBuffer(Int32 index, ReadOnlyRecordBuffer& recordBuffer)

        at Microsoft.Dynamics.Nav.Runtime.ResultSetEnumerator.TryMoveNextImpl(MutableRecordBuffer& recordBuffer)

        at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.Advance(Int32 steps, Boolean moveBackwards, Boolean automaticFindFromPositionOnInvalid, Boolean& resultSetValid, Int32 setSize)

        at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IssueFindRequest(DataError errorLevel, Boolean reversed, FindType findType, Boolean useCache)

        at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALFindLast(DataError errorLevel)

        at Microsoft.Dynamics.Nav.Runtime.NavForm.NewRecord(Boolean belowXRec)

    Source: Microsoft.Dynamics.Nav.Ncl

    HResult: -2146233079

  • ManishS Profile Picture
    ManishS 78 on at
    RE: Debugger is not breaking the Code .

    Can you help us with the event log that is generated when the debug crashes. We had faced this issue where the build was old one and we had updated the objects of new build.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Debugger is not breaking the Code .

    In same Server Client database debugger is not working whereas Cronus Database is debugging .

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Debugger is not breaking the Code .

    sorry boss it was CU 22 . installed file and the Objects file both are CU 22

  • ManishS Profile Picture
    ManishS 78 on at
    RE: Debugger is not breaking the Code .

    Assuming you have installed the CU24 and not upgraded the objects to CU24 and using the old build.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Debugger is not breaking the Code .

    Cu 24

  • ManishS Profile Picture
    ManishS 78 on at
    RE: Debugger is not breaking the Code .

    Which build of NAV 2016 ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Debugger is not breaking the Code .

    The server was unable to process the request . the application will close

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans