Chapter 17. Adding Variables to the Watch List
Overview
By adding them to the watch list, you can easily zero in on particular variables to see whether their values change as expected over the course of the routing context.
Procedure
To add a variable to the watch list:
- If necessary, start up the debugger. See Chapter 14, Starting the Camel Debugger.
- In Variables view, right-click a variable you want to track to open the context menu.
- Select Watch.A new tab, Expressions, appears next to the Breakpoints tab.
- Click the Expressions tab to open it.Expressions view displays the name of the added variable and its current value.
- NoteThe variables you add will remain in the watch list until you remove them. To do so, right-click a variable in the list to open the context menu, and then click.
- With Expressions view open, step through the routing context to track how the value of each variable in the Watch list changes at each step in the routing context.
Related topics
Chapter 16, Changing Variable Values |