Date post: | 21-Feb-2017 |
Category: |
Software |
Upload: | jitendra-bafna |
View: | 76 times |
Download: | 0 times |
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.
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
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.
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.
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.
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.