Monday 1 October 2018

Debug your batch job in D365FO

Today, I will be discussing about how to debug a batch job in D365FO. The process of debugging is bit easier in D365FO then compared to AX 2012.

All others steps are same with attach to process technique. Just need to select another process at a time of attachment.

1) Go to debug menu and select attach to process option.


















2) Select the batch.exe process and make sure show processes for all users is selected. 
Note : Batch Service has name batch.exe and its location is (C:\CustomerServiceUnit\DOBind\Packages\Cloud\AosWebApplication\
AosWebApplication.csx\roles\AosWeb\approot\bin ) –at least on locally deployed machines

















After attaching the process  symbols will be loaded. When you will execute your batch job at that time you will be able to debug X++ code.







No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Connect and upload in azure blob with azure key vault using x++

 Today, I will be sharing details about file upload in azure blob using azure vault that includes pre requisite and code snippet used to it....