이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 19. Disabling Breakpoints in a Running Context


Overview

You can disable and re-enable breakpoints in a running routing context in either Breakpoints view or on the canvas of the running CamelContext: <xxxxxx>. You can delete and reset a deleted breakpoint only on the canvas of the running CamelContext: <xxxxxx>.
Note
The string <xxxxxx> represents the ID that you or the debugger assigned to the camelContext element in the project's routing context file.
When a breakpoint is disabled, the button causes the debugger to skip over it during the debugging session.

Disabling and enabling breakpoints in Breakpoints view

Breakpoints view opens with all set breakpoints enabled.
To disable a breakpoint, clear its check box.
For each breakpoint you disable, Console view displays an INFO level log entry noting that it has been disabled (for example, Removing breakpoint to3). Likewise, for each breakpoint you re-enable, Console view displays an INFO level log entry noting that it has been enabled (for example, Adding breakpoint to3).
Note
To re-enable a disabled breakpoint, click its check box. Console view displays an INFO level log entry noting that the breakpoint has been added to the selected node.

Disabling and enabling breakpoints on the running CamelContext: canvas

Make sure the routing context running in memory, CamelContext: <xxxxxx>, is active on the canvas.
  1. On the canvas, select the node with the breakpoint you want to disable; for example:
    Note
    The icon denotes an unconditional breakpoint. A icon denotes a conditional breakpoint.
  2. Click the icon in the node's side bar.
    The icon replaces the icon in the node's upper left corner, indicating that the breakpoint is now disabled:
    The node's check box in Breakpoints view is clear, also indicating that the breakpoint is disabled:
    Console view contains a log of the event:
    Note
    To re-enable the breakpoint, select the node, and then click the icon in its side bar.

Deleting and resetting breakpoints on the running CamelContext: canvas

You can delete and reset deleted breakpoints only on the running CamelContext: <xxxxxx> canvas.
  1. On the CamelContext: <xxxxxx> canvas, select the node whose breakpoint you want to delete; for example, setHead_usa:
    Note that the node's breakpoint is enabled in Breakpoints view.
    Note
    In the above graphic, the dotted red line surrounding the setHead_usa node identifies the breakpoint on which the debugger is currently suspended.
  2. Click the icon in the node's side bar:
    The breakpoint is removed from the node on the canvas and also from the list of breakpoints in Breakpoints view:
    Note
    To reset the breakpoint, select the node, and then click the or icon in its side bar, depending on whether you want to set an unconditional or conditional breakpoint.

Related topics

Chapter 14, Setting Breakpoints
the section called “Disabling breakpoints”
the section called “Deleting breakpoints”
chapter "To Debug a Routing Context" in "Tooling Tutorials"
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat