While testing I find it often quite hard to find the point where and reason why an exception or error ocurred.
I would copy the filename shown in the console, use ctrl-g to find the Microflow and try to find the 'block' that caused the error.
If I want to know the values of the variables at the moment of the error, I would set a breakpoint at the beginning of the Microflow, and replay the scenario in the browser (if I can remember this).
It would be very nice to be able to tick a box in the Debugger tab of the Desktop Modeler: Break on Exceptions.
Ideally this would show the Microflow right before the error occures, so I can immediately inspect the values of the variables.
It would also be nice to then be able to backtrack the path (stacktrace) using ctrl-tab.
Yes, this would be a nice addition. Also the differentiation between caught and uncaught exceptions
I completely support this. It will be hugely useful. Every other programing language has this feature.
java – https://help.eclipse.org/2019-12/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fbreakpoints%2Fref-addexception_viewaction.htm
Idea is similar to: https://forum.mendix.com/link/ideas/1762
I really like the idea! I would focus on the uncatched exception errors, as the ones that are not directly catched by the microflow design are not that relevant (for example Call REST - 404 returned). The logs are most of the time very clear where the error occurs, so this should be possible!