Eclipse and debug

Hi all

Sorry if this question was asked a million times. I'm new to programming Java, J2me and Blackberry... I started using the JDE 4.2.1 and decided to go the eclipse because of gaps JDE plugin (Code formatting was a biggie for me)... Eclipse on the other hand is a bear to get set up. My question has to do with the debugger and debugging.

I put it in wrong place or debugging in Eclipse is miserable at best. From c# and Visual Studio, I'm used to throwing in the code debugger and showing you exactly where the unhandled exception or error is. With my current setup, I get a white screen in the Simulator with a vague description of the error. Can someone tell me please in the right direction... I really need more precise debugging.

Thank you

Paul

If you get a white screen in the Simulator with a little message so it isn't properly in debug mode; Currently, he is running without debugging.

If you want to debug, make sure that you select Debug or click the little bug to debug, when your in debug mode, when you get to an exception, it will show u the perspective to debug and you show the battery of the code, the exact line the error occurred, and a list of variables so that you can determine what is and is not null , check if something is a value expected (i.e. true/false etc.).

Tags: BlackBerry Developers

Similar Questions

  • Xcode requires additional components to support running and debugging

    Hi all

    Today, I tried to start xcode. And he asks me "xcode requires additional components to support running and debugging. Select installation to add rewuired components.

    Is this ok? Or is my system caught by some funny virus / malware? Is - this caused by the upgrade of 10.11.3 at 10.11.4, is a new version of xcode?

    I have never seen before such a message.

    Greetings from the Germany

    Chris

    Hi Chris,

    The Add ab El Capitan as Xcode keine additional components.

    Hello alles on board!

    VIELLEICHT hilft Dir das yesterday ein wenig!

    https://youtu.be/K-rbWeSL0rY

    Gruss Ralf

  • I need a version 3.0 - ish of Firefox which is used on a registration site the webmaster has not upgraded and debugged the site to be compatible with Firefox 4.

    The site

    https://Fourwinds.com/OCF/login.php

    only works with Firefox as browser. The webmaster does not have upgraded and debugging for use with Firefox 4. I'm hoping to find a copy of the version 3.0 - ish to be able to access this web site. Any suggestions?

    You can get Firefox 3.6 http://www.mozilla.com/en-US/firefox/all-older.html

    If it's just for a site, an alternative is to keep Firefox 4 but install the portable version of the earlier version of Firefox on your hard drive. You can get http://portableapps.com/apps/internet/firefox_portable - section version inherited at the bottom of this page contains links to older versions of Firefox.

  • Why I get this cryptic error when I try to write and debug my Visual C++ project?

    I have some pretty serious problems related to Visual C++ and Visual Studio. Whenever I try to write and debug my project, I get the following error:

    Even just manually my building project of "Build > Build Solution" does not work. When I try to do, I get this error message instead:

    Honestly, I'm puzzled as to what could be causing this. If anyone can offer a possible solution to this question, it would be greatly appreciated.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Eclipse plugin debugging with breakpoints do not work anymore!

    Hello.

    I have a very strange problem. Don't know exactly when it appeared, but previously he worked. When the program in Simulator with plugin Eclipse to debug, I can't get a tune-up of the code where the breakpoint.

    The application thread is suspended (but I don't see any sign of the battery for some reason any), maybe that's why when the breakpoint is reached eclipse point me to the right direction.

    Environment: Vista, Eclipse 3.4.2 JDE 4.6, Plugin 1.0.0.67

    This could be the cause, any ideas?

    P.S. Here's a thread similar problem (unsolved): http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=38226&query.id=38...

    Looks like this has helped.

    I had all of my major classes named "MainApp" equally in all projects.

    After I changed the class for each project names, IE 'MainApp1', 'MainApp2' then debugger started functioning properly!

    Thanks for the help!

  • Eclipse and OS 5

    Hello

    I've developed applications using Eclipse and add components packages when I needed it. Now I need to develop for OS 5 and there is no component package. So the obvious question: there will be a component package 5.0 OS?

    Perhaps I can add some clever build scripts to my project in Eclipse that could save the day?

    I downloaded the JDE for 5.0 but found stupid to use a new IDE just built for a specific version.

    Could have fixed now with this post:

    http://supportforums.BlackBerry.com/T5/Java-development/not-able-to-install-component-Pack-5-0-0-14/...

    The jar is here: http://downloads.blackberry.com/upr/developers/javadev/net.rim.eide.componentpack5.0.0_5.0.0.14.jar

  • Versions of Eclipse and total Confusion

    Well, I downloaded Eclipse Ganymede before yesterday, only to learn that it does not work with CFEclipse. Then I spent too much time looking for the Europa of Eclipse.org version. I even called the Europa Foundation, but it was a useless phone call because no one was there to answer the phone, even during normal office hours. So then I tried to delete Ganymede, reinstall it, and then install the Adobe's Eclipse plugin. That no longer works. By reviewing the messages about the Eclipse on this forum, I have now found the place where I can download Europa. (There are many more posts on the Adobe forums on Eclipse that I thought it would be!) The only question I have now is, which four versions listed on the next page can I download? Given the time and frustration, I spent on this already, I'd like a little help by downloading the correct file that actually works with CFEclipse.

    http://www.Eclipse.org/downloads/packages/release/Europa/winter

    Thank you very much
    GwenH

    Hi Gwen - see if this is useful
    A post on my forum publicWeb on 9/13
    ( http://forums.mredesign.com )

    I kept the notes I created Eclipse the second time, on my laptop.
    Use the same build since then and love it.

    =====

    This is new version of Europa, which is the last recommended
    version to use with CFeclipse
    (europa, 3.3., is a return of the last eclipse 3.4 "ganymede")
    http://www.Eclipse.org/downloads/download.php?file=/technology/EPP/downloads/release/Europ a/winter/eclipse-jee-europa-winter-win32.zip

    Then, for CFeclipse, open eclipse and go to "help > software updates.
    "> find and install.
    Click 'new remote site' and enter this url
    http://www.CFEclipse.org/update, then click "next".

    When you see the new node to the list of the 'cfeclipse', uncheck the box
    below for "show only the latest version."
    and retrieves the 1.3.1.6 version (including executives and the CFunit)

    Then go to "window > open perspective > other" and select "cfeclipse".
    This is where the app turns into something completely different before
    your eyes... impressive.

    Now, to get the Aptana plugin, which has the best FTP (from what I am
    reading and my own results so farhati works very well with a lot of
    features). Aptana is also your best css, js, html and other tools.
    http://update.Aptana.com/install/Studio/3.2/
    ... which explains it.

    Here is an another CF developer who confirms this combination
    http://www.coldfusiondeveloper.com.au/go/news/by/Andrew-Schwabe/20070717-Aptana-Plugin-for-Eclipse /.

    still can't believe that it's all just sitting there, free for the help.

    ======

    Michael Evangelista, Evangelista Design
    Web: www.mredesign.com Blog: www.miuaiga.com
    Developer discussion groups: news://forums.mredesign.com

  • Different behavior between cRIO 'Run as Startup' and debugging run

    Hello

    I have an application that does a lot of things, including playing a card NI 9213 Thermocouple, which lies on a connected to a RT cRIO target expansion chassis. The application is run on the target of RT. My problem is related to a behavioral difference between opening a connection to the channels of thermocouple in debug (by clicking on the arrow on the VI run) mode and the opening of the connection through a Build specification (by clicking Run as to start).

    During execution, the VI wrote in a text file on the hard drive of the cRIO. I enclose the text files, one of the debug mode and a Run as startup mode. I have only two thermocouples connected (ch1 and ch15). From the text file, you can see the connection opens without error in debug mode, but get an error in startup mode. I've also attached an extract showing the VI that I used for the test.

    A few notes:

    Nothing to do with the VI is changed between each type of race.

    The Build specification has the attached VI selected as startup VI, everything else is default

    Someone else out there has had a problem similar to this? I feel like the debug mode should act identically to the normal start deployment. Otherwise, what's the point?

    Thank you

    I solved the problem! Or at least worked around it by setting a different bug. This another bug happened to be the same words that were this bug, to run as a startup. I'll summarize for you:

  • Simulator chips and debug BB10 Alpha

    Hello

    How to run BB10 Simulator alpha?

    Is it acquisitions have chips of debugging for Simulator?

    How to create debugging tokens?

    Thank you and best regards,

    Shubhangi

    The Simulator does not require a token of debugging.

    If you have an alpha of dev, you can use the Setup Wizard in Flash Builder to run you

    through creating a debug token:

    https://developer.BlackBerry.com/Air/beta/documentation/configure_development_environment_fb_2010839...

    If you aren't using Flash Builder but using instead command-line tools, use the command:

    BlackBerry debugtokenrequest - cskpass - keystore - storepass deviceId-

  • App works perfectly well on the Simulator (using all modes) and peripheral when z10 in the communiqué of the execution and debug mode. But creates a 'SIGSEGV = 1 fltno = 11 ip = 781722ec error code' when the term is used.

    My application switches between two documents qml is a home page, and the other is actually a video player. Whenever I press the button to go to the video page, it crashes on my z10 and generates the error «terminated code SIGSEGV = 1 fltno = 11 781722ec = ip...» ". But on the Simulator, it works (without of course plays video). When I use the race version and the debug mode, it works perfectly on my z10.

    This problem occurs frequently when I add a new code element. First of all, it happened when I added a scrollview and container, and it's happening now again when a defined a struct in the header file.  It would be nice to ignore this problem? or y at - it some deeper underlying problem which is the cause

    Just tried, I received the SIGSEGV error too, it looks like parent to AbstractPane fixed it.

    void ApplicationUI::changeScene(const QString& newQmlFileName) {
        // Create root object for the UI
        QmlDocument *qml = QmlDocument::create("asset:///" + newQmlFileName).parent(this);
        qml->setContextProperty("_app", this);
        AbstractPane *root = qml->createRootObject();
        root->setParent(this);
    
        // Set created root object as the application scene
        Application::instance()->setScene(root);
    }
    

    My test project is also attached to this message.

  • How do you see the System.out.println (without using Eclipse and BlackBerry JDE)

    Hi all

    I just want to know if there is no solution to see System.out.println.

    I use neither Eclipse nor BlackBerry JDE for my development.

    I have my jar, jad files. I convert my jar file using the CAP tool. The .cod files are generated.

    I start the trainer. Now I have 2 windows: Windows Simulor and the output (see picture).

    Then I load my .cod files. But I see not all System.out.println ("...") in the output windows.

    How can I see these System.out.println ("...")?

    Please help me.

    Thank you all.

    Thanks for your help.

    I try your solution EventLogger.

    But I have another problem:

    My request is not a native application (it is a midlet in J2ME, not a UIApplication). Do you think that it will work with EventLogger?

    How can I make a registry for EventLogger:

    static boolean register(long guid, String name) 
    Registers the name and the guid of the calling application.
    static boolean register(long guid, String name, int viewerType) 
  • Tokens signature and debugging code

    I worked on an application using Cascades. I signed the app and it loaded on my Z10 and it works very well. If I then delete the token of debugging on the phone, the application runs is no longer.

    I thought that the debugging tokens were only necessary to run unsigned applications.

    What should I do to get the application to run without a token of debugging on the phone?

    Start by importing a signed Release Build (file > export and then BlackBerry > Release Build)...

    Then in Explorer under BAR packages, right-click on your .bar file and choose BlackBerry tools > install

  • Tokens signature and debug with multiple machines

    There has been various issues and discussions on the backup for signing keys.  This thread says you can save your P12, CSK and DB files and then use them on another computer if your original dev machine never dies.  But I'm confused about how actually to 'install' these files to a new machine (with Flash Builder).  Does anyone have this done successfully?

    I have a second machine where I'm trying to restore my certificates saved (as a test).  I pulled FB on my P12 file, but I don't see anywhere to point to my a CSK or DB files.  The 'power of signature of register with RIM' command looks like that it just creates a new CSK, which broke app update.

    Registration also requires a file of the LSB, and those who are not supposed to be reusable.  The only way I know to get another file CSJ is to complete the shape of the RIM to request a whole new signing key.  But still, I don't want a new key signature...  I also wonder if it would be 'disable' the possibility of signing of my original machine - that is to say, each provider may have only one machine registered for signature at a time?

    A related question: has any who successfully put in place several machines dev (do not sign machines) with chips of work debugging?  FB doesn't let me create a debugging token until it is registered with signing authority, which once again the SJC prescription problem I mentioned above.  And it wont let me point to an existing BAR token I created on a different machine - even if the RIM docs say "you can distribute the debugging tokens you create for developers."

    So, anyone who has ha the chance with this kind of dev multi-machine configurations?  Details on how to do it?

    Thanks in advance!

    -Peter

    The steps to backup and restore your BlackBerry Code signing keys can be found here.

    Backup and restore BlackBerry Code signing keys

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/backup-and-restore-BlackBerry-code-SIG...

    ytpete wrote

    A related question: has any who successfully put in place several machines dev (do not sign machines) with work debugging FB chips won't let me create a token to debug up to what he is registered with signing authority, that has once again the problem of limitation of CSJ I mentioned above.  And it wont let me point to an existing BAR token I created on a different machine - even if the RIM docs say "you can distribute the debugging tokens you create for developers."

    There was a problem with the BlackBerry Tablet SDK where the debugging token button import has been disabled until you have saved the code signing key.  This problem has been fixed in the latest version.  You can now import a token of debugging without keys of your choice.

  • Where is the plugin Eclipse and SDK 6?

    Hey community,.

    I tried to install the Eclipse Plugin of BB with the SDK 6.

    So I followed THE instructions and at the end with the options in the image!

    So, how can I get the plugin and the SDK now? I what am doing wrong?

    got it, just installed the IDE Eclipse of BB instead of the plugin and the sdk!

    Solved!

  • ISE 1.1.1 and debugging of LDAP

    Hello

    ISE has all newspapers of debugging for LDAP communication during approval - same get attributes of LDAP server?

    Thank you.

    Concerning

    Karel

    Yes, it does,

    Here are the steps

    http://www.Cisco.com/en/us/docs/security/ISE/1.1.1/user_guide/ise_loggin...

    If you scroll down there is a section of config debug log level. Please customer value and duration to draw, play and download the journal of ise.psc.

    Thank you

    Sent by Cisco Support technique iPad App

Maybe you are looking for