All,

 

When I attempt on device debugging with Nokia S60 3rd 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 3rd 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.j2me\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(SocketTransportService.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

Reply via email to