If I may contribute to this slightly older post, if you are using Visual studio to debug your iLogic rule, you can include BREAK statements in your iLogic rule. I have been using VS to debug iLogic rules since Inventor 2019.
Execution will pause at a BREAK statement and control switches to Visual Studio.
Now you can Step, Step Over, Step Out of, Run to, and a few other debugging options.
A word of caution though - some VS debugging features that explore too deeply can crash Inventor without a chance to save, so be sure to save your document with local rules before debugging with VS. Other than that, using VS has really helped to expand my iLogic skills.
There are a number of threads that explain the VS Debug process. If you have implementation troubles, I can post the VS solution I am using with Inventor 2022.
Hope this is helpful.
Regards,
Jerry
-----------------------------------------------------------------------------------------
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional