BREAKPOINT command in X++

Hi! I want to share  is a rather undocumented X++ statement: BREAKPOINT

In any X++ line, you can write BREAKPOINT; which will trigger a breakpoint on this line and open the debugger. With that, you could circumvent the fact that Axapta does not know conditional breakpoints and you could write a line like that:

if (i>10)
BREAKPOINT;

 
  • Trackback are closed
  • Comments (2)
  1. You have tested it and writing form your personal experience or you find some information online?

    • Some of my experiences , some of information online and some of from books.

Comment are closed.