Показать сообщение отдельно
Старый 10.11.2006, 01:14   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
axaptafreak: BREAKPOINT command in X++
Источник: http://axaptafreak.blogspot.com/2006...mand-in-x.html
==============

Hi! I'm back on track and the first thing I want to share after my vacation 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;

I have been using this statement for years, it has been working since Axapta 1.5 (the first version I had).


Источник: http://axaptafreak.blogspot.com/2006...mand-in-x.html