Cross-platform SDK and HTML5 tools for mobile app development
X
 
3 posts / 0 new
Last post
ek
ek's picture
Offline
Joined: 13 Mar 2012
Posts:
Better error output

I would like better error output when something goes wrong when testing my app.

For example, now when I have made some small error in the html-file (working with nativeui) the screen is totally black (nothing is displayed).

If I got some indication of what is wrong it would be really great.

 

Anders Malm
andersmalm's picture
Offline
Mobile Wizard
Joined: 28 Aug 2008
Posts:
Hi ek! That is something

Hi ek!

That is something which we of course are considering, showing the logcat messages in the Eclipse log. I can't say when and how it will be implemented so for the time being the use of logcat in a terminal is the best option.

If you develop on a Mac and is using the iPhone emulator it's log is now visible in the Eclipse log.

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
Hey - you can use the

Hey - you can use the command 

{syntaxhighlighter brush: cpp;fontsize: 100; first-line: 1; }lprintfln("Hello Mum!");{/syntaxhighlighter}

This will be output into the console when you use MoRE, or if you are using Android in Debug mode, it will go to the default Android output. You can see this with the command line

{syntaxhighlighter brush: cpp;fontsize: 100; first-line: 1; }adb -e logcat{/syntaxhighlighter}

 

Login or register to post comments