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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 30.11.2007, 01:53   #1  
Blog bot is offline
Blog bot
Участник
 
25,497 / 847 (79) +++++++
Регистрация: 28.10.2006
gatesasbait: When the debugger is not an option...
Источник: http://gatesasbait.spaces.live.com/B...B9F5!143.entry
==============

 
Good Thursday morning
 
It'll be short this morning, one customer's Ax 5.0 migration work is starting to pile up, and another customer's Ax 4.0 migration is nearing a testing milestone... So today, I'm posting a short piece of code that is very useful when you are unable to use the debugger. We couldn't get the debugger to work on DAX 5.0 builds prior to 366. This prints the xpp stack to the infolog, you can tweak it a little to put in any method. Particularily useful to hunt down a bug.
 
public static void showXPPStack(Args args)
{
    container stack;
    int i = 1;
    ;
    stack = xsession::xppCallStack();
    while (conpeek(c, i))
    {
        info(conpeek(c, i));
        i++;
        i++;
    }
}
 


Источник: http://gatesasbait.spaces.live.com/B...B9F5!143.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
gatesasbait: Reverse keyword on Select Statements Blog bot DAX Blogs 0 08.02.2008 00:10
gatesasbait: On Dynamics Ax 5.0 compare tool enhancements Blog bot DAX Blogs 3 29.11.2007 13:42
gatesasbait: On data dictionary synchronization errors Blog bot DAX Blogs 0 29.11.2007 00:53
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

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

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

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