[ MS Dynamics AX 2012 debugging ] set breakpoint in CIL


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

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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s