AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.11.2006, 01:14   #1  
Blog bot is offline
Blog bot
Участник
 
25,505 / 847 (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
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
daxcoder: Conditional Breakpoint Blog bot DAX Blogs 4 25.07.2008 14:47
axaptafreak: Label for query range cannot be modified in AX 5.0 Blog bot DAX Blogs 0 30.08.2007 16:50
axaptafreak: DAX 4.0 Clustering question Blog bot DAX Blogs 0 12.04.2007 16:10
axaptafreak: AOT search within search results Blog bot DAX Blogs 0 16.11.2006 17:40
axaptafreak: Semicolon in classes: another hint Blog bot DAX Blogs 0 10.11.2006 01:14

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 08:32.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.