Problem with JDE 4.7 debugging

Hello

I can't debug my application with JDE 4.7.0.41. The problem is: whenever I have start debugging (Debug-> Go), the Simulator starts and gives the message saying "Connection of debug.." to never. Then, by the Simulator with closing force, JDE becomes inadmissible. Any help on this would be greatly appreciated...

Thank you.

Kind regards

-DK

Hi RexDoug,

You are absolutely right. Thanks a lot for this solution long-awaited... I earased all Simulator files and it seems to work fine now... great!

Kind regards

-DK

Tags: BlackBerry Developers

Similar Questions

  • Problem with XControl and remote debugging

    Can you make a connection of remote debugging to an EXE or DLL that uses an XControl?  So far, my experiences would indicate the answer is no, but I find that surprising and have seen no earlier mention of it in bug reports or in the forums.  When trying to connect to the DLL with XControl, I get the error 'fatal error occurred during the operation, close the connection' dialog box.  I'm just connection of the local machine, not on the network.

    My real application is a rather elaborate DLL that is called from a Visual Studio 2008 C++ application and launches the LV panels dynamically.  I realized that my DLLs that include panels with XControls do not allow debugging remotely for you connect while dll without XControls works very well.  It is the only difference between the two projects.

    I've simplified it to a simple test program that merely updates an indicator in a timed loop.  I created two versions of the VI, which updates a digital single and the other who updates an XControl (which itself is a simple digital-only model change XControl of dropping a digital indicator on the FP of façade and update a local variable to it in the event of modification of data).  Then I built these two screws in the exe files and tried to make a debugging connection to each after the launch of the EXE.  Of course, the application with the XControl Gets the above mentioned error dialog box.  Any ideas on why this is happening?

    I have attached the sample project that generates the two EXEs.  One is called debugging with XControl Test and another test of debugging without XControl.  My worm. LV is 9.0f2.  Here's the very simple diagram showing the problem:

    I saw that this problem has been fixed in LV 2010 SP1:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/12560

    Look for the CAR ID 238566 to the fixed bug list.

  • Problems with JDE Sample PictureBackgroundButtonField.java

    Hello world

    I use the JDE PictureBackgroundButtonField.java sample to create a button with a picture on it. It works fine, except that when I insert my application, the button is 'in focus' (watch the _onPicture) and won't not blurry. Can anyone understand this? Thank you!

    Here is the instantiation of the button:

    PictureBackgroundButtonField pic = new PictureBackgroundButtonField("Hello", DrawStyle.HCENTER);
            hfmBottom.add(pic);
    

    Here's the PictureBackgroundButtonField.java:

    /**
     * PictureBackgroundButtonField.java
     *
     * Copyright © 1998-2009 Research In Motion Ltd.
     *
     * Note: For the sake of simplicity, this sample application may not leverage
     * resource bundles and resource strings.  However, it is STRONGLY recommended
     * that application developers make use of the localization features available
     * within the BlackBerry development platform to ensure a seamless application
     * experience across a variety of languages and geographies.  For more information
     * on localizing your application, please refer to the BlackBerry Java Development
     * Environment Development Guide associated with this release.
     */
    
    package com.kflicks.ui.Custom;
    
    import net.rim.device.api.ui.*;
    import net.rim.device.api.system.*;
    
    /**
     * Custom button field that shows how to use images as button backgrounds.
     */
    public class PictureBackgroundButtonField extends Field
    {
        private String _label;
        private int _labelHeight;
        private int _labelWidth;
        private Font _font;
    
        private Bitmap _currentPicture;
        private Bitmap _onPicture = Bitmap.getBitmapResource("res/search_on.png");
        private Bitmap _offPicture = Bitmap.getBitmapResource("res/search_off.png");
    
        /**
         * Constructor.
         * @param text - the text to be displayed on the button
         * @param style - combination of field style bits to specify display
               attributes
         */
        public PictureBackgroundButtonField(String text, long style)
        {
            super(style);
    
            _font = getFont();
            _label = text;
            _labelHeight = _font.getHeight();
            _labelWidth = _font.getAdvance(_label);
            _currentPicture = _onPicture;
        }
    
        /**
         * @return The text on the button
         */
        String getText()
        {
            return _label;
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#getPreferredHeight()
         */
        public int getPreferredHeight()
        {
            return _labelHeight + 4;
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#getPreferredWidth()
         */
        public int getPreferredWidth()
        {
            return _labelWidth + 8;
        }
    
        /**
         * Field implementation.  Changes the picture when focus is gained.
         * @see net.rim.device.api.ui.Field#onFocus(int)
         */
        protected void onFocus(int direction)
        {
            _currentPicture = _onPicture;
            invalidate();
        }
    
        /**
         * Field implementation.  Changes picture back when focus is lost.
         * @see net.rim.device.api.ui.Field#onUnfocus()
         */
        protected void onUnfocus()
        {
            _currentPicture = _offPicture;
            invalidate();
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#drawFocus(Graphics, boolean)
         */
        protected void drawFocus(Graphics graphics, boolean on)
        {
            // Do nothing
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#layout(int, int)
         */
        protected void layout(int width, int height)
        {
            setExtent(Math.min( width, getPreferredWidth()),
            Math.min( height, getPreferredHeight()));
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#paint(Graphics)
         */
        protected void paint(Graphics graphics)
        {
            // First draw the background colour and picture
            graphics.setColor(0x00EE3526);
            graphics.fillRect(0, 0, getWidth(), getHeight());
            graphics.drawBitmap(0, 0, getWidth(), getHeight(), _currentPicture, 0, 0);
    
            // Then draw the text
            /*graphics.setColor(Color.BLACK);
            graphics.setFont(_font);
            graphics.drawText(_label, 4, 2,
                (int)( getStyle() & DrawStyle.ELLIPSIS | DrawStyle.HALIGN_MASK ),
                getWidth() - 6 );*/
        }
    
        /**
         * Overridden so that the Event Dispatch thread can catch this event
         * instead of having it be caught here..
         * @see net.rim.device.api.ui.Field#navigationClick(int, int)
         */
        protected boolean navigationClick(int status, int time)
        {
            fieldChangeNotify(1);
            return true;
        }
    
    }
    

    Seems fine,

    What do you mean by go not blurred? When you create the button, it will be the onFocus image. If you want to give it focus, you need to add the parameter focusable,

    If your code should look like,

    PictureBackgroundButtonField pic = new PictureBackgroundButtonField("Hello", Field.FOCUSABLE | DrawStyle.HCENTER);
    
  • Problems with the creation of chips of debugging SDK WebWorks of Blackberry10 2.0.0.71

    I had a problem with the creation of debugging tokens using the blackberry-debugtokenrequest command. It gives me an error saying that "java" is not a batch file or a program. The blackberry-debugtokenrequest batch file has the following text:

    @java - Djava.awt.headless = true-Xmx512M - cp ' % ~dp0\... \lib\EccpressoJDK15ECC.jar;%~dp0\... \lib\EccpressoAll.jar;%~dp0\... \lib\TrustpointAll.jar;%~dp0\... \lib\TrustpointJDK15.jar;%~dp0\... \lib\TrustpointProviders.jar;%~dp0\... \lib\BarPackager.jar;%~dp0\... \lib\BarSigner.jar;%~dp0\... \lib\KeyTool.jar;%~dp0\... \lib\DebugTokenRequest.jar ' net.rim.device.codesigning.debugtoken.DebugTokenRequest % *.

    I think that the culprit is the symbol @ before java, does anyone else have this problem? Is there a solution?

    What happens if at the command prompt just type "java-version" of your command prompt?

    If it does not, you must do one of two things.

    1. install Java v1.6 (32-bit only)

    2 Java is not in your PATH. (http://www.java.com/en/download/help/path.xml)

  • Problem with signing of application after changing the JDE

    Hello

    I recorded the key signature with JDE 6.0.

    And I have already installed the version 4.2, 4.6 in machine.

    I registered my applications.

    But after that I modified JDE 4.6, when I click on file .cod show not saved. I tried to register, but it is already saved and eloquent contact signing.

    I can solve this problem?

    It is very urgent.

    Could someone help me on this please?

    Thanks in advance.

    1. create the sign.bat file in the bin folder of signaturetool.jar and paste this code in it.

    @echo off
    c:
    cd "C:\Program Files\Research In Motion\BlackBerry JDE 6.0.0\bin"
    java -jar SignatureTool.jar -a %1
    

    2. right click-> properties-> eyebrows .cod file and select sign.bat in opens with.

    Now, whenever you'll cick on .cod file it will open the right tool.

  • I have a problem with debugging in a local development environment.

    I'm having a problem with my local development environment.

    I have version 10.3.5 WebLogic Server on my laptop and I am using Eclipse v3.8.1 as my IDE.

    I built a server in Eclipse, I imported a .war file and place the file properties to point to an Oracle database, not on my laptop.

    I built the project and added the server.

    But when I tried to start the server in debug mode I got this message. :

    Unable to connect to remote VM. Connection refused.     Connection refused: connect

    As the Weblogic Server is loaded on my laptop and I tried to run the server in the Eclipse Server view Debug

    Why it says "Failed to connect to remote virtual machine".

    Why he thinks I'm trying to debug remotely?

    I thought I was set up for local debugging:

    Hello

    To enable the debug option in Weblogic, please add the following lines (in bold print) to startWebLogic.cmd in bin directory - your domain

    Set JAVA_OPTIONS =-Xdebug - Xnoagent - Xrunjdwp: transport = dt_socket, address = 8453, server = y, suspend = n % SAVE_JAVA_OPTIONS %

    And in eclipse change port configuration debug as 8453.

    I hope this will work!

    Kind regards

    Prateek Gupta

  • The response of the cmd + 0 does not work. Is a problem with Safari or Opera or Mac Mail :)

    Try harder. But don't feel put out. The Mac never falls down. I have used them for decades and prefer the Mac. But I fell it twice before last weekend. Try to load Imaging Neuroscience with Matlab Run Time software. At the Apple machine. Nice guy, Henry. Could not diagnose the problem. Did a clean install. Migrated to OS X10.10. Do not like. I always have problems with the machine. But I love the machine. I hate using my machine BACK. Next to neuroscience, software that I use is an open software and UNIX oriented that meets the very good command line. A large part of the software is not ready pour.10 big but worked sur.9. Well, that is until the breaks down. Of the accident, well is the lesson for me, if you crash, debugging and do not go on to the next task until you have solved. Work with Apple with the report of accident in front of you.

    You know, in the part of Oscar Wilde, the Importance of being consistent, he tells Lady Bracknell that he lost both his parents. "For losing a parent can be regarded as a misfortune." But lost both parents statement of negligence. "Yes, two accidents. Shame on me.

    Well, we have all learned, don't we?

    Great to have this forum, however. Yay! Snoop by clicking his heels in glee.

    Instead of a completely clean reinstall, consider trying a drink first. It will at least save your bookmarks and passwords that you may be saved. This article has more information: Refresh Firefox – reset settings and Add-ons.

    If you really want to divert your existing settings, you can use the Profile Manager to start a new settings file. This article has the info on it: use the Profile Manager to create and delete profiles Firefox. I suggest NOT to delete your old profile immediately in case you realize is there irreplaceable data.

  • How to reset the BIOS to resolve a problem with Satellite P100 DVD burner

    Hello

    I'm trying to reset my cmos to solve a problem with my dvd writer.
    I tried to run an old game I own and which was protected by starforce and ran starforce nightmare with a made the device completely unusable.

    After much research, I heard to reset the cmos.
    I have treid through debugging and nothing happened. I really don't want to open the laptop and remove the cmos battery or leave it for a month until the battery runs.

    Y at - it advice on what I should do.

    Could you please put more details on the model of your laptop and you CD/DVD driver problem? This will be useful for other suggestions.

    To be honest I don t think any reset BIOS, the RCT battery remove, etc. is possible or could help you.
    Only the ASP would be able to remove the TCR battery (if necessary what I don t think), but would not reset the BIOS like on the desktop PC!

    I appreciate feedback

  • Problem with strtok and a chain with '-' home ' end

    I faced a problem with 'strtok' that I programmed a function that has checked a directory (String) on the existence and if it does not exist it would create this directory. This problem only occurred in the case of this "strtok" - broken chain is a '-' end of the string.

    Example: Directory string is "E:\\xyz\\uvw\\abc\\qwertz\\bnm\\".

    The function tests if "E:\\xyz" exists and if not it creates.

    The function tests if "E:\\xyz\\uvw" exists and if not it creates.

    ... and so on...

    The function tests if "E:\\xyz\\uvw\\abc\\qwertz\\bnm" exists and if not it creates.

    After using this function with a 'E:\\xyz\\uvw\\abc\\qwertz\\bnm\\' directory string, I use another function with the 'E:\\xyz\\uvw\\abc\\qwertz\\bnm\\' directory string as parameter (creating a file inside - a text log file!). But now, in this second function (in debug mode!) the directory-string 'E:\\xyz\\uvw\\abc\\qwertz\\bnm\\' is just 'E' - nothing more! The rest is missing!

    BUT if I use the directory string 'E:\\xyz\\uvw\\abc\\qwertz\\bnm' instead, the directory-string 'E:\\xyz\\uvw\\abc\\qwertz\\bnm\\' into the next function is "E:\\xyz\\uvw\\abc\\qwertz\\bnm\\"!

    He is as 'strtok' gives an error in the compiler that influences the following chain of office setting.

    Perhaps it affects the following string in general, but that does not test.

    My solution is:

    I have check the string in the first function on '-' is there end. If there is '------' I cut it away--as long as there is a '-' and the string is greater than 1.

    Thank you for your message "Johannes_T".

    In my case, simply check the chain on '------' has is fine and is it y a '------', I cut it and continue with that of 'cut', as it is a '-' to an end and the string is longer than 1.

    Best regards

    F.

  • Problem with the report and the system of axis 2d

    Hi, I'm trying to write a script with tiara, who wrote a 2d axis system in the report but I'm having a lot of problems with it.

    What I'm trying to do, is make 3 or more system axis 2d in the report, each displaying a part of the data of 2 channels (x = ch0, ch1 = y).

    With only 1 graphic I get what I want, but when I try to add the 2nd or the 3rd, they show without my defined x-scale and with the offset x different from the first chart.

    I tried everything, but I could not remedy

    I added as attachments the .csv file that I use to ch0 and ch1 and 2 screen shoots "what I get" (about the problem with the script) and "what I hope to get" (done manually, is what I'm trying to get the report)

    Any help will be appreciated, thanks in advance

    Ierman

    I'll post my code here:

    Dim Xscale, Yscale
    XScale = Array (0,25,0,5,49)
    Yscale = Array(-0.2,0.2,-0.2,10,4)
     
    Call PicDelete()
    Call GraphObjNew ("2D-Axis", "2DAxis1")
    Call GRAPHObjOpen ("2DAxis1")
    D2AxisTop = 1

    D2AxisBottom = 70
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_1")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale (0)
    D2AXISYEND = Yscale (1)
    D2AXISYORIGIN = Yscale (2)
    D2AXISYTICK = Yscale (3)
    D2AXISYMINITICK = Yscale (4)
    Call GRAPHObjClose ("2DYAxis1_1")
    Call GRAPHObjOpen ("2DXAxis1_1")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale (0)
    D2AXISXEND = Xscale (1)
    D2AXISXORIGIN = Xscale (2)
    D2AXISXTICK = Xscale (3)
    D2AXISXMINITICK = Xscale (4)
    D2AxisXTxt = ""

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_1")
    Call GraphObjNew("2D-Curve","New_Curve")

    Call GraphObjOpen ("New_Curve")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve")
    Call GRAPHObjClose ("2DAxis1")

    Dim Xscale1, Yscale1
    Xscale1 = Array (25,50,0,5,49)
    Yscale1 = Array(-0.2,0.2,-0.2,10,4)
    Call GraphObjNew ("2D-Axis", "grafic")
    Call GRAPHObjOpen ("grafic")
    D2AxisTop = 40

    D2AxisBottom = 37
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_2")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale1 (0)
    D2AXISYEND = Yscale1 (1)
    D2AXISYORIGIN = Yscale1 (2)
    D2AXISYTICK = Yscale1 (3)
    D2AXISYMINITICK = Yscale1 (4)
    D2AxisYTxt = "" ' testo asse label y
    Call GRAPHObjClose ("2DYAxis1_2")
    Call GRAPHObjOpen ("2DXAxis1_2")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale1 (0)
    D2AXISXEND = Xscale1 (1)
    D2AXISXORIGIN = Xscale1 (2)
    D2AXISXTICK = Xscale1 (3)
    D2AXISXMINITICK = Xscale1 (4)
    D2AxisXTxt = «»

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_2")
    Call GraphObjNew("2D-Curve","New_Curve1")

    Call GraphObjOpen ("New_Curve1")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve1")
    Call GRAPHObjClose ("grafic")

    Hi lerman,.

    Here is an edited version of your code that works on my computer.  A problem that I know that I fixed it was that your presentation of the STATE was in the name-oriented mode but you use the variables based on the number to assign it X and Y channels.  The execution of these commands in a loop FOR makes it much easier to debug the code and to avoid any annoyance at first.

    Brad Turpin
    Tiara Product Support Engineer

    National Instruments

  • I just did a check of norton power Eraser which revealed that I have a problem with the file ntsd.exe.

    original title: problem with file ntsd.exe

    I just did a check of norton power Eraser which revealed that I have a problem with the file ntsd.exe. Does anyone have suggestions about what to do to fix it? Thank you very much.

    Hi JohnABuckley,

    • Are you facing any problem on the computer?

    Ntsd.exe is a process belonging to the Microsoft symbolic debugger that lets you debug applications in user mode.

    As the link below, it says that there is a risk that Norton Power Eraser can select some legitimate programs for removal. You should carefully review the analysis results page before deleting the files. I suggest that you don't delete the file unless you are facing problems with the computer.

    https://www-secure.Symantec.com/Norton-support/JSP/help-solutions.jsp?LG=English&CT=us&docid=20100824120155EN&product=home&version=1&PVID=f-home

  • Blue screen on startup... problem with the display driver?

    I have been using a Dell Inspiron 14R (N4110) laptop computer since 2010 without any problem.

    The laptop was purchased online from Dell and came with

    (1) Windows 7 Home Premium 64-bit and

    2) AMD Radeon HD 6470 M - 1 GB display card.

    Recently, I had a problem where my laptop just wouldn't start, showing the blue screen every time it tries to start. The blue screen mentions a problem with the file atikmpag.sys I understand is the driver for the AMD video card.

    If I delete/rename the files atikmpag.sys and atikmdag.sys (via secure boot mode) in C:/windows/system32/drivers, the laptop (not) start, but obviously does not recognize the graphics card.

    After a lot of unsuccessful trials debugging on mine (including trying to upgrade the drivers to display etc.)., I reinstalled the operating system and the drivers provided with the original kit (just to eliminate any possibility of an upgrade that went wrong). However, I still see the issue.

    That means there is a hardware problem? or a BIOS problem?

    Thank you

    R.B.

    Guys, the problem you describe is actually a hardware failure. There is nothing you can do except replace a motherboard for laptop, or taken some advanced technicians, COMPUTING which will replace or chip GPU reball.

    I have the same a laptop similar (Inspiron N5110), with the same problems and these problems - all started yesterday. Do not waste your time, just reinstall OS, then install display drivers, which are available on the official site of Support of DELL and after that - if it's not working, just do what I said.

    Generally these are consequences of an overheating laptop, but that it was certainly not my case (I did regular checks), I could even bet on chips quality GPU, which has been used in the manufacture of this model of laptop... again...

    UPDATE: Okay, last night was a long night for me and I can confirm finally - who's * chip AMD, which causes the blue screen, you mentioned. I disassembled my N5110 faulty, armed with a heatgun, Probe temperature (probe) and tons of aluminium + some flow of brazing, I made a fairly quick reflow and the result is just what I expected - everything works perfectly again, with the same configuration - even with the same installation of Windows, which has been to launch these blue screens. There are now no blue screen at all and portable computer performance as new.

    Apparently bad welding, when this laptop was manufactured, is the exact reason why we are where we are. The BGA chip was not dead at all (it was just poorly soldered). The same story, including HP and a bunch of other companies had some time ago with these NVIDIA chips (I know, some of you know what I'm talking about).

    CONCLUSION: Integrated DELL diagnostic software is useless against the detection of defects with a discreet graphics AMD card. Problem was not in the software or drivers - it was just a poorly welded chip (I regularly cleaned my laptop dust, so overheating is not an option here).

  • Problem with keys (do not sign at all) signature

    Hello

    I have a pretty old set BBOS signature keys (created 14. August 2009) and I used it for the signature of long years. Since yesterday I can't sign, SigningTool stays to "receive application" forever. No error, nothing, even if I enter the wrong password key. The app is created with JDE 6.0, there are actually only the key RBB.

    I even open sigtool.db with a text editor and tried to change the URL inside rim.net at blackberry.net, but again no luck

    Should I just ordered new signing keys or is it possible to fix the signature?

    Thank you.

    This is probably due to a problem of version of Java.  Take a look at the article below for details.  Let us know if you're still having problems.

    SignatureTool stops responding during signature

  • problems with my application Simulator in Builder 4.6

    Hello

    I just all of a sudden on a problem that I can't seem to understand.  I can build a Release version of my application without problem, but try to do some tests on the Simulator annoys me instant app closes with 8 error on the Simulator and this message in flash builder:

    Failure of deployment: Info: request shipment: launch
    Info: Action: launch
    Info: Launch of com.babware.CribbageCompanion.debug.testDev_anion_debugcffb4b91...
    result::failed
    Info: done

    In most of my research, it has had problems with Debug chips, but I have regenerated and made sure they are all valid on my device and in Flash Builder.  Any other ideas?

    problem was the Simulator. Tried to hang my PB appear as a target and everything works fine. * shrug *.

  • Blackberry problems with javax.microedition.HttpConnection

    Hi all

    I am currently working on an application that connects to the Web service using javax.microedition.io.HttpConnection;

    I want to do several generations for the request of 4.7, 5.0 and 6.0. I have a very big problem because as I've debugged since now the request to the server is only to send the version 4.7 and I have not found a solution to work for other versions. The code is the same, but I have an InterruptedIOException with the message that LocalConnection expired after ~ 10000. I had this error on the 9800 Simulator tests.

    How it is possible to work on 4.7 but on other versions of crash?

    Have you had similar problems? Shoud I code to help with this? This is a very critical situation.

    Kind regards

    Bogdan

    Try to use '; deviceside = true' to your URL. Also, take a look at Peter in sticky for many useful code to develop applications of HttpConnection.

Maybe you are looking for