Top Banner
DEBUGGING WITH MULESOFT ANYPOINT STUDIO
8

Debugging with MuleSoft Anypoint Studio

Feb 21, 2017

Download

Software

Jitendra Bafna
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Debugging with MuleSoft Anypoint Studio

DEBUGGING WITH MULESOFT ANYPOINT STUDIO

Page 2: Debugging with MuleSoft Anypoint Studio

DEBUGGING WITH ANYPOINT STUDIO

Anypoint Studio comes with Studio Visual Debugger which allows you to run the

application in debug mode and stopping the execution to check the contents of

previous building blocks.

Debugging the Mule Application with Anypoint Studio is very easy.

For running the application in debug mode first you need to set up breakpoint on

building block. When application runs in debug mode, it stops immediately after

executing the building block with breakpoint.

Page 3: Debugging with MuleSoft Anypoint Studio

DEBUGGING WITH ANYPOINT STUDIO

When debugging application on your local machine, Studio Visual Debugger

listens for incoming connection on port 6666 and ensure that firewall is not

blocking port. Set debug point on building blocks in your application by right

clicking on studio component as shown below

Page 4: Debugging with MuleSoft Anypoint Studio

DEBUGGING WITH ANYPOINT STUDIO

In package explorer pane right click on your application, then select Debug As

< Mule Application. Studio will start application in debug mode and displays

the Confirm Perspective Switch window. Click Yes to confirm.

Page 5: Debugging with MuleSoft Anypoint Studio

DEBUGGING WITH ANYPOINT STUDIO

After enabling the application in debug mode, when message is sent to

application and it will stop at first building block where breakpoint is set.

Page 6: Debugging with MuleSoft Anypoint Studio

DEBUGGING WITH ANYPOINT STUDIO

On the Left pane of Mule Debugger, you can see message payload and various

other properties. Right pane displays various metadata associated with message

like Inbound, Variables, Outbound, Session and Record. To go to next step of

debugging, then click on Run to processor icon as highlighted in below snapshot.

Page 7: Debugging with MuleSoft Anypoint Studio

DEBUGGING WITH ANYPOINT STUDIO

To resume execution, click the Resume icon (see below) or press F8. Your

application runs until the message reaches the next breakpoint, if any.

For more details, Please go to MuleSoft Debugging Documentation.

Page 8: Debugging with MuleSoft Anypoint Studio

THANK YOU