Sunday, July 3, 2016

Code profilier Test X++

static void san_codeProfilerTest()
{
    int   i, j;
    ;  
    #profileBegin("test")  
   
    for(i=1;   i<=10; i++)
    {  
        j+=   i*i;
    }  
   
    info(strfmt("%1",j));  
    #profileEnd  
}

No comments:

Post a Comment

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...