Skip to Content
Author's profile photo Jeff Wootton

How to view the contents of CCLScript data structures when debugging a project

There’s a very useful – but somewhat hidden – tool that can be very useful in debugging streaming projects. While some of the things you can do with it – like setting breakpoints – are exposed in the Studio, not all of them are.

One of the most frequent debugging questions I get is if there is a way to view the contents of variables, dictionaries or vectors, in a live project. The streamingprojectclient command line utility lets you do just that using the ex (examine) command. Note that your project has to be started in Trace Mode to use the ex command – as well as the other debugging commands. Trace mode for the project can be turned on via the esp_client utility or from the Studio using the Debugger.

And of course another way is to add PRINT statements in a CCLScript block.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.