There are two way to debug a PhoneGap Plugin for BlackBerry WebWorks : the eas y way and the hard way. The eas y way to is to debug with log mes s ages , which is a quick way to dis cover the problem, fix it, and move on. The hard way is to us e Eclips e and s tep-debug your s ource code, which will give you a detailed unders tanding of the problem but cons ume a lot of time.
3. Generate the s ource code by building the project Run ant build or ant load-simulator or ant load-device This will generate the s ource code to C:\path\to\myapp\build\src
3. Select C:\path\to\myapp\build\src\blackberry
4. Set Scope to Enclosing Projects 5. Select Replace... 6. Set Replace with to blackberry.web.widget 7. Select OK
9. Delete org.json.me
1. Right-click on src/org.json.me 2. Select Delete