[ MS Dynamics AX 2012 debugging ] set breakpoint in CIL

Problem

sometimes we cannot set breakpoint in the code that generated to CIL

Solution
Make change in

/Classes/SysOperationRPCFrameworkService/runServiceOperation function

    // Disable this piece of Code - AK
/*return SysDictClass::invokeStaticMethodIL(classStr(SysOperationServiceController),
staticMethodStr(SysOperationServiceController, runServiceOperation),
[controllerClassId, packedController]);*/

// instead make this call - AK
return SysOperationServiceController::runServiceOperation([controllerClassId, packedController]); 

ref : axinsighter