このコンテンツは選択した言語では利用できません。

Chapter 18. 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 15, 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 17, Changing Variable Values
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.