Thanks Gonzotek - so it's better to 'refactor' working code, with other 'working' code. When the OP changes his assumed working code to something that doesn't work, it fails to compile with no error given. So the trouble OP's trying to convey is that no error shows up in the debugger when it fails to compile, or that his code is broken? For the lack of an error message, my guess would be to try a different program to access the debug console, and verify the IP/port of the roku you're connecting to like TheEndless posted.