Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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:
  1. If necessary, start up the debugger. See Chapter 14, Starting the Camel Debugger.
  2. In Variables view, right-click a variable you want to track to open the context menu.
  3. Select Watch.
    A new tab, Expressions, appears next to the Breakpoints tab.
  4. Click the Expressions tab to open it.
    Expressions view displays the name of the added variable and its current value.
  5. Repeat Step 2 through Step 4 to add additional variables to the Watch list.
    Note
    The 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 Remove.
  6. 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
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat