05-30-2012 09:22 AM - edited 05-31-2012 06:06 AM
I use bb-ant-tools to compile and sign my application, then deploy to a device by using javaloader. I want to be able to attach the debugger from Eclipse to the device and to be able to hit any breakpoints that I declare.
Currently I can attach the debugger to the device from Eclipse, however any breakpoints that I create get ignored.
How can I achieve this?
06-01-2012 12:58 PM
The files created by rapc, present within the workspace must match what is loaded on the BlackBerry Smartphone. Ensure that you are updating the .cod and .debug files in your workspace. If they are different you won't be able to use break points (and many other debugging features).
06-01-2012 04:34 PM
Hi, Thanks for your reply. Your help is extremely useful to the community.
I will attempt to check the .cod and .debug files are the same by completing an md5checksum, then seeing how I get on.
Is there anyway I could trick Eclipse by just copying the files that were generated by the build script to the correct directory?
06-01-2012 05:56 PM
Sorry, I have another question.
Would it be possible to output a source list from Eclipse like the one bb-ant-tools generates? This will help in understanding what differs between my script and Eclipse.
There is a large difference between the number of signatures that Eclipse and the script requires. Eclipse signs 120-ish where as the script does 170-ish.