As a developper the NAV-debugger is a very nice tool to use when you need to debug your code. With the F9 function key you are able to set/remove/disable/enable breakpoints in your code or directly in the debugger. When debugging you can debug your code step by step or from one breakpoint to the next (F8, Ctr-F8, F5,...)
All breakpoints you set in the code, are saved, so the next time you dive into the code, they are still there to be used. But you have to do this, manually, inside each object you want to debug.
In fact, in Dynamics-NAV all breakpoints are maintained in the "Breakpoint" system table. When you run this table you can see all the breakpoints you have set.
For example, if you go into the Form-designer and create a new form, using the wizard, choose the Breakpoint table as your source table:
Then select all the available fields and click on the Finish (or Preview) button. You now have a form that shows you all breakpoints in your database:
And further more, you are able to set new breakpoints, remove breakpoints, enable/disable breakpoints ! This can be a very usefull form to have, for Dynamics-NAV developpers.
Comments