I am updating a site that I've built for the Nintendo Wii, and am looking for a good way to debug the application. Wii's browser (a version of Opera 9.3) does not have any sort of JavaScript console. I was going to use one of the various remote debug console solutions (such as jsconsole.com), but none of them seem to work. I suspect the reason for this is some sort of unsupported functionality, but I cannot figure out what that is without a console or some sort of error output.
Things I've tried:
window.onerror
(Not supported until Opera 11.6)Error.prototype.toString
method (works on desktops, not on Wii)try/catch
blocks (Exceptions aren't thrown for reference errors and what not. try
/catch
works, but only for exceptions I throw.)<body onerror="alert('ERROR!!!')" />
Are there any other suggestions for catching errors and unhandled exceptions for an entire page?
Right-click anywhere in the webpage and then select Inspect. Or, press F12 . DevTools opens next to the webpage. In the top right of DevTools, the Open Console to view errors button displays an error about the webpage.
this link was suggestting lookimng into firebug lite. I don't know how it would fare on the wii browser as I don't own the device.
It's a pity that the engine is too old for supporting draagonfly.
You could always program in the debugging code yourself, for instance:
try{
yourFunction();
}catch(e){
alert('yourFunction failed!');
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With