Last Updated: February 16, 2016
Follow these steps to enable the BrightScript debugger on a player:
Note: The DE9 serial port is fully RS-232 compatible, but the 3.5mm serial port can only interoperate with some RS-232 compatible devices. It can receive from any RS-232 device, but transmission may not work depending on the electrical characteristics of the device.
- Connect your PC to the player using a serial cable (or use Telnet/SSH). The serial connection has the following settings:
- Baud rate: 115200
- Data: 8 bit
- Parity: none
- Stop: 1 bit
- Flow control: none
With Script Debug mode turned on, the player will not automatically restart when the the script causes a crash. Instead, the shell will drop in to the BrightScript debugger. Normally, with Script Debug mode turned off, the player will flash the red Err LED 10 times twice, then restart automatically.