Friday, April 8, 2011

DAX, Axapta - click method debug issue

If you want to debug click method you need to place in code X++ keyword "breakpoint"

void clicked()
{
    breakpoint;
    element.updateJournalBalance();

    super();
}

Warning. Main difference betwen hardcoded breakpoint and breakpoint which was setup by F9 key is that using "breakpoint" key word you will setup breakpoint for all user so be carefull using this feature.