Two ways to run SPL Streams debugger (SDB)

Source: Internet
Author: User
Tags spl

You can use the SPL Streams Debugger in Infosphere®streams Studio to help you debug your SPL applications.

First, additional software xterm is required,

Install via sudo yum install xterm

About this taskthe SPL compiler provides a command-line debugger (SDB) to the help you debug your SPL applications. The debugger is automatically launched in xterm Windows if the application are compiled with the debug option (-g).

Streams Studio provides support for launch your application with the SDB debugger. To debug your application, follow this procedure:

Procedure
  1. Build your application with debug information by enabling the debug your application with SDB option in the SPL AP Plication ' s build configuration. For more information about enabling debug in a configuration, see Defining Build Options.
  2. Launch your application with the various Launch shortcuts or the SPL application Launch configuration.
  3. when your application is launched, Streams Studio detects that your application is built with debugging-enabled and prompts to enter the "display" Submission-time value. The display Submission-time value is needed to display Thexterm windows for the sdb debugger. If thedisplay environment variable is set in your environment, can leave this submission -time value blank. Otherwise, provide the host, port, and display number for this submission-time value. The display submission-time-value can be set As.
  4. The application is launched, and the SDB debugger are available in the xterm windows. You can interact with the SDB debugger with these xterm windows.

Two ways to run SPL Streams debugger (SDB)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.