Sometimes a NAS tends to hang when there are breakpoints present in the database.
The following message will be displayed in the event viewer:
The Breakpoints already exists.
Identification fields and values:
Object ID=’50001′,Object Type=’Form’,Trigger Line=’4′,Code No=’7′
To avoid this message you can simply delete all the breakpoints in NAV before running the NAS.
You can do this in either the object that is run by the specific NAS or in the NASHandler trigger of codeunit 1.
Simply add a line like “recBreakpoint.DELETEALL” where recBreakpoint points to a Record variable of the virtual Breakpoint table.


