Refer to the exhibits. The Mule application is stopped at the breakpoint in Anypoint Studio. A watch expression is set to the counter variable.
What value is displayed for this watch expression?
Refer to the exhibits. The Mule application is stopped at the breakpoint in Anypoint Studio. A watch expression is set to the counter variable.
What value is displayed for this watch expression?
The Mule application is stopped at the breakpoint within the Main flow right before entering the ChildFlow. At this point, the 'counter' variable has been set to 1, and the ChildFlow, which increments the 'counter' by 10, has not yet been executed. Therefore, the value displayed for the watch expression at this breakpoint will be 1.
Option A is correct
Shit I was wrong again with my other comment. I didn't see the breakpoint. Considering the breakpoint the answer will be 1. Because the watch expression will evaluate when breakpoint hits.
Correct answer is B --> The counter variable is set to 1 in the Main flow and then incremented by 10 in the ChildFlow, resulting in the final value being logged as 11.