While you’re editing your RED file consider making the changes from this post to use the Debug ClaRun.DLL so the Exception window gives you Procedure and Routine Names in the Call Stack .
To get Line Numbers in the call stack on the Project Compiling tab check the box “Add Line Number information to MAP”