0

How to debug custom plugin scripting

I would like to start custom plugin development. The documentation on that is quite poor (not on the language itself, but on custom plugins and its event system), what won't be a problem if I have the possibility to get some debug output.

I tried to activate the telnet acess with the plugin provided on github, but could not connect to the player.

The player is accessible from my PC via LocalNetwork, system log debugging is activated, but no debug output on the diagnostic web server log or anywhere else.

Additional I found some statments, that the debugger won't work on the plugins anyway. Seems BrightSign is not very interested that their customers extend BrightAuthors funtionality. Is it possible to develop Custom States?

So is there any handy setup to develop custom plugins?

 

2 comments

  • 0
    Avatar
    Romeo

    Hi,

    Please paste here the output of http://myplayer_IP/registry_dump.html. so I can check if Telnet was indeed properly enabled on your player.

    Also you should probably use putty as a telnet client for debugging.

    I'm not sure which script you used to enable Telnet but you may want to try the one available from the below URL

    http://brightsignnetwork.com/download/Romeo/TelnetStandalone.brs 

    You'll need to rename this file to autorun.brs before loading it to the SD card. Once the script has been executed, you'll need to remove the SD card and reboot the player before attempting to access the player via telnet.

    Regards,

    Romeo

  • 0
    Avatar
    Lukas Uebachs

    Ok, I managed to get the print output on the telnet console. The standalone script worked to activate it. Thanks!

    Still struggling to understand the plugin system, but that would be off topic.

Please sign in to leave a comment.