Hello,
I only want to debug the Dynamics NAV web services. It is impossible to select the web service session in the "Debug Session" form to debug as shown in the screenshot (#1).
The only way to catch a error raised in the web service seems to
debug next but unfortunately it repeatedly catches the errors raised by NAS as shown in the screenshot (#2).
Because the TryFindNextJobQueueEntry is an try-function, I don't want to change its structure (using IF in the FINDFIRST expression) to supress the error.
Debugging NAS is disabled in the NAV administration page as shown in the screenshot (#3).
I am in desperate situation
what is the solution?
Answers
Activate the debugger on the Windows client session.
Send the request via Browser/Client.
Once the break point will hit it you are able to debug it.
Hope this helps.
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
https://community.dynamics.com/nav/b/code4nav/archive/2015/08/17/how-to-debug-a-webservice-nas-session-in-nav-2013-nav2015-and-above
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
Dynamics NAV Developer since 2005
Important to be careful with the configuration of the instance, any mistake could be fatal.
Cheers,