![]() |
#1 |
Участник
|
kamalblogs: Adding a breakpoint through code in Dynamics Ax
Источник: http://kamalblogs.wordpress.com/2010...n-dynamics-ax/
============== Every time I see a warning or error, the default place where i place my debugger was at “\Class\Info\add”. I was really not happy of going each time to the same class to place a breakpoint. This week i got rid of it finally ![]() What I did was develop a small piece of code that will automatically add a breakpoint and called this piece of code from the internal development toolbar that we have. The internal development toolbar is something like Tabax. You can also do the same and integrate with your own toolbar/ Tabax / Ax Assist. X++: static void addBreakPoint(Args _args) { container bpCon; int vers, i; ; //Get the breakpoint bpcon = infolog.breakpoint(); //Version just for reference not really needed vers = conpeek(bpCon, i); i++; //set the breakpoint bpCon += [@"\Classes\Info\add"]; bpCon += [1]; bpCon += [true]; infolog.breakpoint(bpCon); } ![]() Источник: http://kamalblogs.wordpress.com/2010...n-dynamics-ax/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|