Assembla home | Assembla project page
 

For debugging on epoc emulators (Nokia Series 60) invoke the emulator from the command line and attach a debugger to it once it's ready

For example, this is how it looks for HelloProsciutto? in my local machine, to make the emulator listen on port 8000

C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\emulator.exe -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000  -Xdescriptor:D:\proyectos\PROSH_REP\demos\helloworld\bin\english\phonetest4_cldc11_hecl_mmapi_lbs\Nokia\6255i\HelloProsciutto.jad

And if you just want to run the application without attaching to a debugger:

C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\emulator.exe -Xdescriptor:D:\proyectos\PROSH_REP\demos\helloworld\bin\english\phonetest4_cldc11_hecl_mmapi_lbs\Nokia\6255i\HelloProsciutto.jad

This is SO useful if you want your System.err and System.out viewed! Apparently the System.out pane in the Diagnostics window does NOT work in the SDK!!

Also some good tip references:

http://www.mail-archive.com/eclipseme-users@lists.sourceforge.net/msg00732.html

http://blogs.forum.nokia.com/index.php?op=ViewArticle&blogId=32927&articleId=247

http://forums.sun.com/thread.jspa?threadID=5320412&start=15

http://lwuit.blogspot.com/2008/12/redirecting-output-on-s60-devices.html

http://blogs.forum.nokia.com/blog/hartti-suomelas-forum-nokia-blog/2006/10/18/midlets-system.out-and-series-40-phones