Sometime Debug is not hit in the Infopath backend code, After long researching and searching article, finally it works, so please follow the steps to debug Infopath code via visual studio
Please post your comments here if you have any questions or issues.