diference in console output ?Monkey Forums/Monkey Beginners/diference in console output ?
| When running below example as desktop app, exceptions print in the console |
window, but when running as a html5 app, the exception prints don't show up in console window.
Any idea why?
Class Ex1 Extends Throwable
Class Ex2 Extends Throwable
For Local i:=1 To 10
If (i & 1) Throw New Ex1 Else Throw New Ex2
Print "Caught an ex1!"
Print "Caught an ex2!"
| The html5 PRINTs are displayed in the browser window below the HTML5 canvas. |
| The content in the console window is the result of the running app creating an output to the STDOUT or STDERR pipe and TED displaying that.|
A running HTML5 app inside the browser does not support this and so prints to the browser window.
| If your HTML app fills most of the screen, you might miss the printout-window, which is below it. Scroll down or set the view to < 100% size. |
| as Gerry says if your app fills the browser window pull the white bar at the bottom up, by default this should shrink the app canvas and expose the console. |
| thanks for info |