I am updating the site I created for the Nintendo Wii and am looking for a good way to debug the application. The Wii browser (Opera version 9.3) does not have any JavaScript console. I was going to use one of the various console solutions for remote debugging (e.g. jsconsole.com ), but none of them seem to work. I suspect that the reason for this is some unsupported functionality, but I cannot figure out that this is without a console or some kind of error output.
Things I tried:
window.onerror ( Not supported until Opera 11.6 )- Overriding the
Error.prototype.toString method (works on desktops, not Wii) - Code that looks like a wrap script in
try/catch blocks (Exceptions are not thrown for reference errors, and what not. try / catch works, but only for the exceptions that I throw.) <body onerror="alert('ERROR!!!')" />- PhoneGap / Weinre Remote Debugger
Are there any other suggestions for error detection and unhandled exceptions for the entire page?
javascript opera javascript-events
Brad
source share