There is quite well known bug in AX that breakpoint placed in the clicked() method of a button will not be triggered. It is quite unpleasant one since when one faces it first time he gets totally confused.
However, there are easy workarounds for this bug. First one – put breakpoint into the method that is called from clicked (in most cases it is possible). But if not, keyword breakpoint can be used – it will be triggered in clicked() method.
How do you do a keyword breakpoint? Completely missed them.
ReplyDeleteJust write "breakpoint;" in code.
ReplyDeleteoh, ofcourse
ReplyDeletewow.. good 2 know
ReplyDeleteyou can also refer here for a similar suggestion on using "breakpoint"
ReplyDeletehttp://kamalblogs.wordpress.com/2010/04/15/debugging-form-controls-in-dynamics-ax/
I always thought soft breakpoints will not work in forms since forms are user-driven, which is why hard breakpoints are required when debugging.
ReplyDeleteIt does make it a nightmare, especially when you have to check it into source control and then elevate the changes to a test environment in order to properly debug form level logic.
Embedded system training in chennai
ReplyDeleteBest Embedded system training in chennai
Embedded training in chennai
Embedded system training institute in chennai
Embedded system
Embedded training
Embedded system courses in chennai
Matlab training in chennai
Arduino training in chennai
Autocad training in chennai
Best embedded training in chennai