Eclipse pluging 1.1 - "debug as Blackberry device".

I installed eclipse 1.1 pluging. Looks like it works more stable and faster.

When I chose "Debug under"-> "Blackberry Device", IDE builds, signs, and download bionary on device. Cool!

But due to the update of the app, the appliance resets and IDE cannot debug.

Why the plugin is unable to wait for the reset? Can it be fixed?

I was able to replicate this and it will apply to less than 5.0 BlackBerry device software.  Here is what actually happens:

Debug as-> device BlackBerry deploys the application on your BlackBerry Smartphone and attaches it to the debugger.  However, replacing the application can cause the device reset, which disconnects the debugger.

The workaround is to uninstall the existing application (Options, Applications) prior to a "Debug As-> BlackBerry Device", which will prevent the reset.

I forwarded this question to our development team for resolution in a future release of the BlackBerry Java plug-in for Eclipse.  It was recorded in the handler incidents here: https://www.blackberry.com/jira/browse/TOOL-161

Tags: BlackBerry Developers

Similar Questions

  • How do I debug my application using BlackBerry device instead of Simulator

    Hi all

    Currently, developing an application and tests normally this application using Simulator by right-clicking the application and select Debug as blackberry Simulator, now I want to test the app using device, I plugged the unit using the USB port to my windows pc and when I click with the right button on the application and select Debug as blackberry device it does not work? How can I test my application using device someone give me idea

    1. Connect the BlackBerry device to your computer via a USB cable.
    2. Open the BlackBerry Device Manager.
    3. Install the application on the BlackBerry smartphone.
    4. In Eclipse, the menu run, click Debug Configurations.
    5. Right click on the BlackBerry smartphone, and then click New.
    6. In the name field, type a name.
    7. Click the BlackBerry device.
    8. In the BlackBerry device configuration section, do one of the following actions:
      • Select attach to everything connected to any device BlackBerry is connected.
      • Select attach to the specific device. Select a device of BlackBerry to attach it to the BlackBerry device drop-down list.
    9. Click on debug.
  • Debugging on Live device with plug Eclipse 1.1

    Hello

    I just spent ages trying to debug my application on a live device. I followed the instructions found here...

    http://supportforums.BlackBerry.com/T5/Java-development/debug-an-application-running-on-a-live-black...

    and for my simple application, it worked perfectly. For my other application the debugger kept giving me error message selected device is more noted.

    After * a * a lot of research I came across this...

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/Eclipse-pluging-1-1-quot-debug-as-BLAC...

    that seems to be exactly the problem I had. So I deleted my app of the device (and libraries), and debugging then worked perfectly.

    Then why post? Nowhere, until I found this last post has read that the Eclipse plug in automatically to download the apps in the device. In fact, their download before trying to debug, it was what was causing the problem.

    First of all, it update of documents relating to the latest version of the plug Eclipse? Several times I have come off due to a "significant improvement" in the latest version of Eclipse that is not documented anywhere.

    I found these...

    http://docs.BlackBerry.com/en/developers/subcategories/?usertype=21&category=BlackBerry+Java+plug-in...

    but there is nothing in here, I could find on the debugging on a live device for example.

    Back to the debugging problem, now I have to clear a couple of my libraries before I want to debug. Even deleting causes them a reboot of the device. Is there anyway that I can stop a reboot occur when an application update/deletion?

    Finally, how is it only certain applications requiring a restart and not others?

    Thanks for any help.

    New features are listed in the release notes.  You can find the list here:

    http://docs.BlackBerry.com/en/developers/deliverables/11983/New_In_This_Release_1.1.2_1082531_11.jsp

    This should answer your question to reboot.

    The reason why a reset is required when upgrading an application

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/the-reason-a-reset-is-required-when-up...

  • Impossible to debug as - > Blackberry in Eclipse Simulator

    Hello

    I've implemented an application for some time using Eclipse 3.5 and Blackberry plugin version 1.1.2 without a lot of questions, but recently, I was stuck on this one:

    Whenever I try to "Debug slot-> Blackberry Simulator ', Eclipse crashes at 31% saying"delegate launch. " This leaves me in a bad spot for my application debugging. However, I only peut 'run as-> Blackberry Simulator '.

    I tried the new configurations debug with different simulators. I tried to re-intsalling the eclipse + blackberry plugin. I'm still stuck with the same question.

    Can anyone share ideas they might have on it, or suggest how I could resolve this more?

    Thank you

    Jon

    Apparently, it had something to do with the BBDevMgr process running. When I killed this process in windows Task Manager, Eclipse was able to start the Simulator in debug mode. All good now!

  • Fastest way for debugging on the device of JDE

    Hi all

    I'm new to the development of BB and struggling to find a way to debug on device effectively.  My application has a lot of comm of bluetooth in him so most debugging should occur on the device instead of Simulator (please, correct me if this is not true).  Here's my development/debugging process.

    1. change the code

    2. generate the code

    3. the signal code

    4. connect device to Desktop Manager via the USB cable

    5. delete a previous version of my application

    6. load the latest version of my application

    7. connect to the device using JDE

    8. install a device app

    My quesitons are...

    1 should I sign the code whenever I have rebuild?

    2. is there a more effective way to get the latest version on the device instead of uninstalling then reinstall via Desktop Manager (it takes forever).

    There MUST be a better way.  Thanks in advance to all those who answer.  =)

    1. Yes, you sign cod every time after reconstruction you have for debugging on the device.

    2. you can load application in the device in various ways. If you use the Desktop Manager, you need to go if the steps you mentioned.

    But most developers use javaloader (JDE bin directory) to get the latest version in the device during development.

    To do this, run the following command from the bin directory:

    JavaLoader-u load applicationName.cod

    Also take a look at the article for details on loading the application on the device.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800708/800647/How_To _...

    Concerning

    Bika

  • BBM BBM on a Blackberry Device OS 10 cannot INVITE BBM Anroid / IOS

    We need a NEW UPDATE for this case. BBM on a Blackberry Device OS 10 cannot INVITE BBM Anroid / IOS.

    Thank you

    Be aware of a very important some limitations and restrictions.

    First of all, this version, as you know already, is a developer version... so there are a lot of functions that is intentionally disabled. In addition, this version includes a restriction anti-secours, which means that you cannot fall back to 10.3.2 or earlier and now must wait for a version of future production 10.3.3 to reactivate all things are paralyzed.

    I hope that this device is not your daily driver... for most of those who have installed the developer version of 10.3.3 eventually regret. One thing can work better, but also many others turn to fail. I hope that your experience will not reflect what has happened to most of the others.

    Good luck!

  • Size wallpaper for blackBerry devices

    is there a source for the size of wallpaper for BlackBerry devices?

    PS: also where can I terminals BlackBerry AU profiles?

    See the BlackBerry Theme Builder - 5.0 - User Guide, all different sizes are there...

  • BlackBerry 10 that I really need Blackberry devices:

    1. where a word in a text is selected (or highlighted), the menu floating (cut, copy, paste, select, share) completely covers both (I named it) the-blue-circle-insertion-point-virtual-handle. Disable the user's ability to select exactly what text (or string) to highlight. Suggestion: Please separate the location of the-blue-circle-insertion-point-virtual-handle from the location of the floating menu.

    2 The-blue-circle-insertion-point-handle cannot be touched or moved if located near the corner of the screen. Suggestion: enlarge the circle of blue-insertion-point-handle.

    3. the user can select (or highlight) any details (or text, or string or number) displayed in contacts (or directory). The user must "change" everything first to be able to select (or highlight). This requirement is too inconvenient. And risk of unintentional or accidental change to details. suggestion: make all the details or text in the phone book (or contacts) selectable.

    4. bring convenience keys! BlackBerry Bold 9000 has 2 of them. Where are they now? I want the return of the convenience keys.

    5 bring bbm surveys ability to save bbm chat in a .csv file. That the history of cats is vital, I repeat: VITAL in all communications of the transaction. And this story cat .csv file MUST be exported directly to your PC via a connection cable USB simple. As when the user connect Blackberry to a host computer. The computer recognizes the Blackberry device. And the user can view all history files cat .csv via the computer screen. BRING IT BACK!

    6 do the same thing to point 5 for contacts. make all contacts to Blackberry device easy to export. 1 contact, a single .vcf file.

    7 continue to make inquiries. Investigations as is our, us, serious user only how to tell you guys that we really need.

    8. this text box in this deeper investigation. This text box is too shallow.

    9. - application of shortcut. Yes! shortcuts shortcuts shortcuts.

    10 stop merging or linking contacts in the phonebook. Please, put an end to this function.

    11 saying, I have a friend named 'KUMAR', I add its PIN bbm in bbm application, he accepts, we chat via bbm, everything works it is good. Then KUMAR appears in my BB (or contacts app) directory, that's fine. Then I opened its contact information in the directory of BB, I clicked on edit, I type its phone number in the "phone number" field text box. And then I clicked on save, it's great. But when I open BBM app and remove KUMAR, KUMAR disappears also from my book, it isn't very GOOD. I want the details of KUMAR rest in my phonebook even after I remove his contacts in BBM app.

    12 make this BB device capable of recording the voice call conversation.

    13 fry the trackpad.

    14 bring back button menu blackberry.

    15 bring 'BACK' button.

    16 bring the green phone button and and allows the use of Red Cross.

    17. why there are no 'copy' function (or floating button) when a text field address postal (in the Directory / contact app) is active (or update). Hey, I want to stick a long address here.

    18 now you Blackberry have "save / cancel / discard" floating options I, a user edit a contact information. It's neat. But it will be much much better to give this floating options (or each floating options in BB), a shortcut. For example. I hit the "D" key, it's a "gap". Press key "S" to "Save." And press the 'C' key to "Cancel".

    19 provide a standalone install drivers bluetooth for pc offline in your Web site to us users can synchronize our computers with our blackberries and easily explore the Bb devices via bluetooth.

    20 BB system uses open spaces of storage inside the memory of the device. And the system of the space grows large after each update. The next update, please reduce or shrink the storage space occupied for BB system.

    21 all night mode. Yes everything. Including the concentrator, the request to 'remember', everything. background color of this thing getting dark. It's low profile. Energy saving. And looks very cool.

    22. the change the default font in something that sets apart the look between the capital letter "capital I" and "L".

    23 shortcuts to restart the device. When I press the left "alt" button, key 'shift right' and 'delete' button at the same time, I want that the device must be restarted immediately, regardless of the current status of the device.

    24. built in ability to screenshot by pressing two buttons at the same time.

    Many of the items in your list have been resolved or added.

    1, 2, 3, 6, 10, 13, 14, 15, 16, 23, 24

    Some of your suggestions, I do not understand.

    Good luck.

  • The simultaneous use of the SD card in the BlackBerry device and the computer

    Hello

    Can any body tell me if the SD card in the BlackBerry device can be used simultaneously to the device and the computer and how how through programming or coding.

    No problem, can assign you this solved please.  Thank you.

    See the link for help to the top if you do not know how to do it.

  • I could develop Java Application for Blackberry device software version 5.0 to 6.0 JDE

    Hi, expert,

    I saw this line of the ' BlackBerry Java Development Environment - 4.7.0 - fundamentals Guide'.

    It is said:

    ===============================

    With each major version of the BlackBerry Device Software and the FMV of BlackBerry, Research In Motion includes the
    corresponding Java API and version of the BlackBerry® Java® development environment. The version of the BlackBerry device
    Software determines the version of the BlackBerry® integrated development environment that you can use to develop
    applications. For example, RIM released BlackBerry Device Software version 4.0 and BlackBerry JDE version 4.0 in even
    time. BlackBerry JDE version 4.0 supports APIs that were introduced in BlackBerry Device Software version 4.0
    and BlackBerry JVM version 4.0.

    The applications that you create by using BlackBerry JDE Version 4.0 only work on BlackBerry devices
    running BlackBerry Device Software version 4.0 or later.

    =========================

    The last sentence talking about version 4.0 of JDE. I think that would mean that I could not develop a java application on JDE 6.0 for Blackberry 5.0 version of the software, even if I do not use any new API to 6.0. However, it seems to me that it is a useless limitation. Could someone throw some lights on it?

    I'm going to agree with superdirt here.

    I have the 5.0 OS update of applications work well on OS 5.0, 6.0 and 7.0 of the OS OS phones.  I try not to recompile for levels of the OS, if I can, and so far I've been perfectly safe with OS 5.0 running on the later levels of the operating system.  So you should be able to get away with just using OS 5.0.

    Not that it is important for you, but I just thought I documents some historical information about level changes.  .

    As far as I know it 2 change cod in the file format, one to the 4.0 OS and the other in OS 4.2.  Therefore, if you want to run anything in OS 6.0 or above, it must be compiled in OS 4.2 or higher.  Again, I have applications compiled to OS 4.2 running on OS 6.0, without no problem devices.

    There have been changes to the API - the result is that the code that works in OS xx does not work in OS yy where yy is after xx.  I hit a few of them and have so far managed to rework the code so that it works very well on both levels of the operating system.  In general it is things that I do wrong anyway, as the older operating systems (from memory) are not as strict on when the event Thread must be used.

    The problem with OS 4.7 compatibility is an impact and to get more of this, for devices touch screen only, I compile using OS 4.7.  If an application that uses only the functionality that was available in the OS 4.2, I compile on OS 4.2 for non touch screen phones and OS 4.7 for touchscreen phones.  And everything works fine.

    I hope this helps.

  • Appropriate Blackberry device!

    I use Blacberry JDE 4.7 and JDK 6 for BlackBerry application development. Now, I want to buy the BlackBerry smartphone appropriate in support of my application. I need the list of all BlackBerry devices supported for my application created using Blacberry JDE 4.7 and JDK 6.

    Currently, devices that are built using version 4.7 are 9500 and 9530...

    See you soon...

  • Not be able to debug on the device

    Hi friends,

    I'm not able to debug device now. I have the same version of Simulator, sim even package version as I have on mobile. I've been able to debug a few minutes back, but I had not changed anything just removed app and new thought of debugging to display the value in another function. Even after removing the application, all objects remain in the persistent storage.

    Please help me

    Hi friends I am successfully able to solve. The only thing to do is to clean the Simulator, even if you want to debug on the device. Now, I am able to debug each time that the device suceesfully. Timeout paradigm for everything by retrieving the coordinates that we should create a timer so that elapsed, he should leave the idea of recovering the coordinates.

  • How to get a ID each blackberry device

    The DeviceInfo.getDeviceId () to get a unique identifier for each blackberry device? I want to use "GPRSInfo.getIMEI ()", but in the Simulator just give me 0000.0000 etc, and I guess that everything is for the device with GPRS? I don't know if all the devices have the GPRS info?

    Thank you in advance for your help!

    Greetings

    It is unique to the device, no other device will have the same identifier.

  • Security for the COD file question: is it possible to extract the BlackBerry devices .cod file?

    Is it possible to extract the BlackBerry devices .cod file?

    We want to ship the BlackBerry device with our application installed.

    I was wondering if need to add additional security.

    Installing drivers USB BlackBerry Desktop Manager, connect the BlackBerry to the PC via USB/Bluetooth and «save the JavaLoader.exe u your_module_here»

    PS JavaLoader.exe comes with the BlackBerry development Java (JDE) environment.

  • How to get the height and width of the screen of the blackberry device?

    Can someone tellme how to get details of the screen of the blackberry device?

    Display.getWidth () and Display.getHeight ().  If this isn't what you want, let us know.

Maybe you are looking for