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

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

首先,需要额外软件xterm,

通过 sudo yum install xterm来安装

命令行编译选择调试模式

SPL编译器提供了一种命令行式的调试器(即sdb)来调试应用。如果在编译SPA的时候加上"-g"的选项,调试器会在应用运行时自动运行xtermwindows来启动调试过程

在Streams Studio中调试的流程

  1.   通过在build configuration中配置Debug选项来开启调试模式,设置详情见Defining build options.
  2.   当应用启动之后,Streams Studio会检测到应用是调试模式,sdb调试器会在xtermwindows中运行,你就可以通过xtermwindows使用其命令行进行相应debug工作
posted @ 2015-11-12 23:35  张安  阅读(247)  评论(0编辑  收藏  举报