Download - Mule soft debugprogram
![Page 1: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/1.jpg)
MuleSoft MuleSoft Debug ProgramDebug Program
Abhishek Jain
![Page 2: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/2.jpg)
AgendaAgenda
Mule Project CreationBasic StructureSimple ProgramRun ProgramTopic for next sessionReference
![Page 3: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/3.jpg)
Run Program in DebugRun Program in DebugWe will continue with the program mentioned in previous session. Run the program in Debug mode.
![Page 4: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/4.jpg)
Debug Mode ContinuesDebug Mode Continues-Mule application will be running in “Mule Debug” perspective-Mule Debugger perspective will open and application would start running in debug mode. Upon successful deployment, debugger view will open
![Page 5: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/5.jpg)
Some Debugging IssuesSome Debugging Issues-There could be some scenarios where application might not run in debug mode. Anypoint doesn’t show the error sometimes in that case.
-Possible Solution-Change the port number for debug mode-Restart the workspace
-Port number can be changed by going into below-Right click -> Debug-> Debug Configurations -> Mule Debugger-> Port
![Page 6: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/6.jpg)
Apply BreakpointsApply Breakpoints-Breakpoints can be applied easily by right click on any of the message processor/inbound/outbound endpoints
![Page 7: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/7.jpg)
Debug ProgramDebug Program
![Page 8: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/8.jpg)
Debug Program (Continues)Debug Program (Continues)Application will be paused on break points and debugger view will open with all the properties associated with the message at that time
![Page 9: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/9.jpg)
Debug Program (Continues)Debug Program (Continues)You can play/evaluate with mule expression evaluator in order to check the expression syntax you are writing
![Page 10: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/10.jpg)
Debug Program (Continues)Debug Program (Continues)You can play/evaluate with mule expression evaluator in order to check the expression syntax you are writing
![Page 11: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/11.jpg)
Debug Program (Continues..)Debug Program (Continues..)Program can be continued.. By pressing f8 or next message processor button under mule debugger
Debugger is having capabilities to check the properties at runtime, evaluate the expression, analyze each component/processor in detail
![Page 12: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/12.jpg)
Next SessionNext Session
Filters
![Page 14: Mule soft debugprogram](https://reader031.vdocuments.mx/reader031/viewer/2022011722/58ea4fce1a28abc4698b657b/html5/thumbnails/14.jpg)
Thank YouThank You