Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
kanaksony
Posts: 528
Registered: ‎04-11-2009
Accepted Solution

Debug in Curve 8520 (v4.6.1.272)

Hi,

 

I am trying to debug my app. in real device. am not missing some steps I think. I have follwed following steps:

 

(1.) Developed the app using BB JDE 4.2.1.

(2.) I have BB Curve i.e BB 8520 with v4.6.1.272 (platform 4.2.0118)

(3.) Downloaded the Simulator BlackBerry_Simulators_4.6.1.272_8520 from RIM and installed

(4.) Build and Signed the app.

(5.) Loaded the app using javaloader.exe

(6.) Attached the device i.e. debug>Attach to>Handheld>USB (myPIN)

 

It gives following o/p on the console:

 

Duplicate class net.rim.device.apps.internal.clock.face.analog.AnalogClockFace.
Found in C:\ABS10\Components\JavaDevice\Apps\4.6.1-GeminiGC2\JavaApplications\net\rim\device\apps\internal\clock\face\analog\AnalogClockFace.java net_rim_bb_clock_faces-6.
Ignored in C:\ABS10\Components\JavaDevice\Apps\4.6.1-GeminiGC2\JavaApplications\net\rim\device\apps\internal\clock\face\analog\AnalogClockFace.java net_rim_bb_clock_lib.
Duplicate class net.rim.device.apps.internal.clock.face.analog.AnalogClockHand.
Found in C:\ABS10\Components\JavaDevice\Apps\4.6.1-GeminiGC2\JavaApplications\net\rim\device\apps\internal\clock\face\analog\AnalogClockFace.java net_rim_bb_clock_faces-6.
Ignored in C:\ABS10\Components\JavaDevice\Apps\4.6.1-GeminiGC2\JavaApplications\net\rim\device\apps\internal\clock\face\analog\AnalogClockFace.java net_rim_bb_clock_lib.
Duplicate class net.rim.device.apps.internal.resource.ClockResource.
Found in C:\tmp\1\rapc_rc_55031.dir\.staging\net\rim\device\apps\internal\resource\ClockResource.java net_rim_bb_clock_faces-6.

.

.

.

.

and last lins are:

 

VM:-DA 0
attach: success
JVM: bklt[1] @9782046: JBSC on=0
JVM: bklt[1] @9782046: SC 0
JVM: bklt[1]: setTimeout 30
loader: connect
loader: handshake

 

After this my mobile remains idle,I dn know what to do next...? Any suggestions would be appreciable.

 

 

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Please use plain text.
Developer
simon_hain
Posts: 13,754
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: Debug in Curve 8520 (v4.6.1.272)

you can ignore the "duplicate" messages. are you sure you did everything as you described? because the debug output hints at you attaching the debugger first and using the javaloader afterwards. only one app can use the usb-connection, either the javaloader or the debugger. debugging breakpoints does not always work when you have a different jde and device version. don't know if a jde has the 8520 included, i don't think so. use sysouts instead.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
kanaksony
Posts: 528
Registered: ‎04-11-2009

Re: Debug in Curve 8520 (v4.6.1.272)

Thanks Simon for your quick response. I actually forgot to sign the application. And this was the actual problem, after signing it and repeating the aforesaid steps, I am able to debug with device.

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Please use plain text.