Studio’s Visual Debugger allows you to run your application in Debug mode, stopping execution to check the contents of a message at previously-specified building blocks.
To do this, you set a breakpoint at any building block in your flow that you wish to check or test. When you run your application in Debug mode, the application stops immediately after executing the building block with the breakpoint. Using the Mule Debugger View, you can browse through the contents of the message as it exists at that point in the flow, and evaluate Mule Expressions against the message.
Training Talk – Episode 3
Let’s first review the steps you need to follow To start using the Visual Debugger in Anypoint Studio:
- Set Breakpoints breakpoints on building blocks in your application.
- Run in Debug Mode the application in Debug mode.
- View Message Data at a Breakpoint and/or Evaluate Mule Expressions the data in the first building block with a breakpoint.
- Resume application execution.
- Repeat step 3 with the next building block with a breakpoint, if any.
In this Training Talks, Ethan will show us what to do when after setting a breakpoint, the flow is not stopping at the debugger, what are some possible causes and how to fix it.
Have questions for the Training team? Drop it in our forum or Training Twitter using the hashtag #TrainingTalks and stay tuned!
Our training modules are designed to help you learn how to be expert at using Anypoint Platform at any stage of development. To find out more about our role based recommended learning paths visit https://training.mulesoft.com/learning-path.