About this lesson

This lesson explains how to access the debug console via Telnet and the Roku Eclipse Plug-in and use the different debug ports. It describes how to view the crash logs, stack traces, and app performance metrics in the console. And it guides you on how to use the interactive debugger to type commands for checking and updating variable values, calling functions, and stepping through the application.

Resources

ItemDescription
Debugging codeRead how to how to access the debug console via Telnet and the Roku Eclipse Plug-in and use the different debug ports. Review the list of debugging commands that can be entered in the BrightScript (port 8085) and SceneGraph (port 8080) debug ports.
Roku Eclipse plug-inInstall and open Roku's plug-in for the Eclipse IDE, which includes SceneGraph and Brightscript support to make building Roku apps easier. This plug-in helps with scripting tasks such as code completion, error compilation, code commenting, and static analysis.
Roku Eclipse plug-in overviewRead a high-level overview of the features included in the Roku Eclipse plug-in.

Related

Measuring app performance

ifDeviceInfo interface

How to watch

Play the embedded video above or go to SceneGraph: Debugging channels on the Roku Developers YouTube channel or access the Roku Developers channel on the Roku platform.