I'm not sure what you mean by debug server vs debug client. Another thing worth mentioning is that debugging on an emulator works properly by simply changing the Emulation Device="S60Emulator" (from "S60 Device_over_Bluetooth")
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Setera Sent: Sunday, November 19, 2006 3:41 PM To: [email protected] Subject: Re: [Eclipseme-users] S60 On Device Debugging Problem Mike, I've never tried this. Do you know if the device debugging acts as a debug server or a debug client? Craig Mike Vosseller wrote: > > All, > > When I attempt on device debugging with Nokia S60 3^rd Edition I get a > "Couldn't connect to virtual machine" error. (Using Nokia's BT Debug - > Ecmt Agent) > > When I just "Run" it properly sends the application to the device and > starts it up but when I "Debug" I get the above error message. > > The .log file and further details are below. > > Thanks for any help, > > Mike > > *System Configuration:* > > I unchecked the "Suspend Execution" options in the Window->Java->Debug > settings and set Debugger timeout to 30000. > > Eclipse version: 3.2.1 (Build id: M20060921-0945) > > EclipseME version 1.5.5 > > Platform = Windows XP > > Windowing = Windows XP > > JDK - 1.5.0_09 > > Bluetooth Drivers - WIDCOMM Bluetooth stack > > Emulation Device Group = S60 3^rd Ed. SDK for MIDP > > Emulation Device = S60 Device_over_Bluetooth > > *.log file:* > > !SESSION 2006-11-12 16:20:52.921 > ----------------------------------------------- > > eclipse.buildId=M20060921-0945 > > java.version=1.5.0_09 > > java.vendor=Sun Microsystems Inc. > > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US > > Command-line arguments: -os win32 -ws win32 -arch x86 > > !ENTRY eclipseme.core 1 0 2006-11-12 16:21:33.170 > > !MESSAGE Command line: > C:\S60\Devices\S60_3rd_MIDP_SDK\bin\emulator.exe -Xdebug > -Xrunjdwp:transport=dt_socket,suspend=y,server=y,address=2104 > -classpath D:\dev\HackMIDlet\verified\classes > -Xdevice:S60Device_over_Bluetooth > -Xdescriptor:C:\DOCUME~1\mpv\LOCALS~1\Temp\_eclipseme.tmp\launch_59896.j 2me\HackMIDlet.jad > HackMIDlet > > !ENTRY eclipseme.core 4 120 2006-11-12 16:21:39.201 > > !MESSAGE Couldn't connect to virtual machine > > !STACK 0 > > java.net.ConnectException: Connection refused: connect > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at java.net.PlainSocketImpl.doConnect(Unknown Source) > > at java.net.PlainSocketImpl.connectToAddress(Unknown Source) > > at java.net.PlainSocketImpl.connect(Unknown Source) > > at java.net.SocksSocketImpl.connect(Unknown Source) > > at java.net.Socket.connect(Unknown Source) > > at java.net.Socket.connect(Unknown Source) > > at java.net.Socket.<init>(Unknown Source) > > at java.net.Socket.<init>(Unknown Source) > > at > org.eclipse.jdi.internal.connect.SocketTransportService$2.run(SocketTran sportService.java:134) > > at java.lang.Thread.run(Unknown Source) > > *When I run the command line myself I do NOT get an error message and > the MIDlet does not start. (Perhaps it is waiting for the debugger to > connect?)* > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Eclipseme-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/eclipseme-users > ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
