mule soft debug program

14
MuleSoft MuleSoft Debug Program Debug Program Kiet Bui

Upload: bui-kiet

Post on 23-Jan-2018

284 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Mule soft debug program

MuleSoft MuleSoft Debug ProgramDebug Program

Kiet Bui

Page 2: Mule soft debug program

AgendaAgenda

Mule Project CreationBasic StructureSimple ProgramRun ProgramTopic for next sessionReference

Page 3: Mule soft debug program

Run Program in DebugRun Program in Debug

We will continue with the program mentioned in previous session. Run the program in Debug mode.

Page 4: Mule soft debug program

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 debug program

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 debug program

Apply BreakpointsApply Breakpoints

-Breakpoints can be applied easily by right click on any of the message processor/inbound/outbound endpoints

Page 7: Mule soft debug program

Debug ProgramDebug Program

Page 8: Mule soft debug program

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 debug program

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 debug program

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 debug program

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 debug program

Next SessionNext Session

Filters

Page 13: Mule soft debug program

ReferencesReferences

www.mulesoft.com

Page 14: Mule soft debug program

Thank YouThank You