AX 2009: Debug BatchRun class

Hello,

I would like to customize the BatchRun class and send an email with the contents of the IngfoLog. I’m able to make simple modifications and get an email with my changes, but the batch frameworks hangs when I try to get the contents of the Infolog, Windows server name, port number, AOS name etc. Moreover, repeated changes to the class don’t seem to take effect even after restarting the AOS.

I’m wondering whether there is a way to debug BatchRun class. I followed the steps to debug here: https://msdn.microsoft.com/en-US/library/cc588679(v=ax.50).aspx However, the execution never stopped in the BatchRun::serverProcessFinishedJobs method.

Thank you.

Were you able to run the class without any issues in non-batch mode?
What code are you using to get the infolog details?