码迷,mamicode.com
首页 > 数据库 > 详细

运行SPL Streams debugger(sdb)的两种方法

时间:2015-11-13 00:56:32      阅读:270      评论:0      收藏:0      [点我收藏+]

标签:

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

首先,需要额外软件xterm,

通过 sudo yum install xterm来安装

About this task

The SPL compiler provides a command-line debugger (sdb) to help you debug your SPL applications. The debugger is automatically launched inxtermwindows if the application is compiled with the debug option (-g).

Streams Studio provides support to 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 application‘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 you to enter the "display" submission-time value. The display submission-time value is needed to display thextermwindows for the SDB debugger. If theDISPLAYenvironment variable is set in your environment, you can leave this submission-time value blank. Otherwise, you provide the host, port, and display number for this submission-time value. The display submission-time-value can be set as<host>:<port>.<display number>.
  4. The application is launched, and the sdb debugger is available in thextermwindows. You can interact with the sdb debugger with thesextermwindows.

运行SPL Streams debugger(sdb)的两种方法

标签:

原文地址:http://www.cnblogs.com/lanyun0520/p/4960655.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!