Debugging of smartphone Simulator

Hello!

How can I use debug in the smartphone Simulator (no eclipse)?

Thank you!

https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_testing/web_inspector_overview_1553586_11...

Tags: BlackBerry Developers

Similar Questions

  • debugging problems of Simulator 9100

    I join a simulator course, 9100, Eclipse api 1.1, 5.0.

    I'm getting something I can set breakpoints, but it's in a weird State.

    When the debugger is endearing, it says it can't find the rim cldc and modules of system operating with debug info.

    When I look in the directory of Simulator, they are, under the Debug dir, here:

    C:\Program Files (x 86) \Research in Motion\BlackBerry Smartphone simulators (9100)\Debug\net_rim_cldc-1.debug 5.0.0\5.0.0.676

    (and the largest number of files).

    So when my application appear in the debugger, I can see local variables, but not in

    the battery, in one of the api.

    The app is not properly, but I can't debug without resolving it.

    I don't have this problem when I join other simulators.

    What could be wrong?

    Thank you

    lucidbee.

    I think it was a problem of process.

    After downloading a new Simulator, I have to quit and restart Eclipse.

    Then I can select the Simulator in debugging or running again and this

    problem goes away.

  • How to debug in a Simulator?

    I try to debug my app in the simulator of rogers-8900 but don't know how to do it. Here's what I do.

    1. construction of my application in 4.2.1 jde and the Uploader in a hyperlink.

    2. download my app in the Simulator mentioned.

    3 attach the debugger 4.6 Simulator as the 8900 Simulator works the 4.6 o/s.

    It's all good. I can see the printing instructions, but I can't break at certain points in the code. I don't know how to do this. Any help will be appreciated here.

    Thanks in advance.

    8900 standard Simulator works 4.6.1.

    Since you are doing this for the 4.6.1 peripheral, then download and install JDE 4.6.1.  Then it runs the 8900 Curve default Simulator and you can save loads of effort in just compile and run then, just like you can do with the 8800 device to the 4.2.1 JDE.

  • AppName-debugging features in Simulator

    I did a search on the forums, but couldn't really find anything, so I was wondering if someone else using Burrito has faced this problem.

    Basically, I give my app a name in the - app.xml file, but when I run the Simulator name appears under the name of my app-debug. So I named my Pocket of culinary photography application, but it shows like Pocket Food Photography-debug. Is it possible to remove the part of the name debugging? When I submit my app I don't want to tell him to debug at the end.

    It's my second application but one I created and presented has been done in Flash Builder 4 and I have not encounter this problem.

    Hi alex,

    No problem! and no, you don't have to sign in order to remove the - debug extension. It will be deleted as long as you do the project > export Release Build treat, even if you don't sign it.

  • Debug using iOS Simulator (cvm.properties file missing)

    Hello

    I'm trying to debug your sample of JavaDemo. I already have the deploy in an iOS Simulator and I have done the job. But now I'm changing a little more sample and I would like my debugging code.

    I followed the instructions of Testing and Debugging ADF Mobile Applications - 11g Release 2 (11.1.2.3.0)

    Can't get to step 3 to specify the debug cvm.properties file settings. Without this clarification, I can't debug my app.

    Where is this file or how it create?

    Thank you for your attention,

    Kind regards

    Will be.

    Watch this video - https://blogs.oracle.com/mobile/entry/debugging_adf_mobile_apps_on

    You can find the cvm.properties file in JDeveloper under the accordion of application under descriptors resources.

  • Problem in 10 Blackberry smartphone Simulator

    Hello

    I downloaded 10 phone simulator smart blackberry. But when I try to find the IP address of the virtual machine I'm not able to get something. I tried to click on the button, symbol of development but not work. So I can't start development for blackberry 10. When I tried to click on the browser, it not respoding. So how to get the IP address of the Simulator.

    This may seem like a stupid answer but have you tried to either:

    1: close the virtual machine, ensuring that you actually close the machine virtual and not only suspend (if your using VMWare check file > Player Preferences > turning off the virtual machine)

    2: have you tried to uninstall the client VM and reinstall?

    I know that I had some problems initially with the Simulator to become unresponsive. I uninstalled, reinstalled and everything started working.

  • Debugging on Playbook Simulator

    Hello

    I use the last PlayBook Simulator (for Mac), VMWare Fusion 4.1, 3.7, Java 1.6 Eclipse, latest BlackBerry Plugins for Android development in Eclipse and all on OS X Lion 10.7.3.

    Now: whenever I try to launch my application on the Simulator, Eclipse shows me:

    [Problem Occured]
    'Launching MyAPP' has encountered a problem.
    null
    

    Anyone have an idea on how to solve this problem or at least where to get more information?

    ~ Chris

    OK, the problem was: Eclipse was running under Java 1.6, although the system "by default" JRE was 1.7.

    To change the default JRE on a Mac, open the 'Java preferences' (for example via spotlight).

  • 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.
  • Cannot debug/run app in the Simulator from IDE update

    I did the error has earlier to upgrade my momentics IDE to 2.1, and since I'm unable to successfully launch my app to the market or debugging in a simulator. The application loaded on the Simulator and I can run from the home screen by pressing on it, but while the splash screen is displayed, the application stops immediately when launched from the IDE. There is no error message displayed in the console, the application stops just immediately after the splash screen is displayed.

    I tried with five simulators which worked very well all the way from 1.0.x to 10.3.x. I am lucky to have an old copy of the 10.1.0 IDE still on my system and I can run and debug my app very well using this one, but I would really be able to use the IDE to 2.1 again. It worked fine on the 2.0 IDE too, these problems just started to happen after the 2.1 IDE update.

    Has anyone else seen this, and if so, have you found a solution?

    OK, never mind. I accidentally upgraded my old working version of the IDE too all by improving the SDK (I forgot that it updates too the IDE) and panicked because then it would be not too run or debug from the IDE. I solved it but by uninstalling the TWO versions of the IDE, then put it back up from scratch. After the clean install, everything is fine and I can run and debug fine with 2.1 IDE.

    I guess it's something messed up with the upgrade process. A fixed.

  • Debug vs version relies on Simulator

    I am writing an app of Cascades/C++ native BB10 using the Momentics IDE on Mac OSX 2.0.

    I would like to have a "Debug" version which includes additional code to check the internal inconsistencies and additional test functions (which will make the app run slow) and a "release" without any additional code (so it will run faster and be smaller and not to let users do things that they are not intended to do).

    I think I can use the QT_NO_DEBUG macro to toggle additional code.  Am that I on the right track here?  Is this the "path BB10"?

    I chose "run Release' instead of 'Run' in the IDE, clean and build, but I don't see - DQT_NO_DEBUG in commands in the Console window she built.  When it runs on the Simulator, I get no qDebug() results in the Console window, so something must be different.  I added a SystemDialog to tell me if QT_NO_DEBUG is enabled or not, and it is always disabled.  I have not yet tried on a real device.  I need to work on the Simulator, but also a real device.

    While browsing the Momentics IDE 2.0, I see references to "Device-Debug", "Device-Release', 'Device-Profile',"Simulator-Debug"but not"Simulator Release.  Why not?

    (I get this list by right-clicking on my project in the Project Explorer tab, build some Configurations/manage... which shows a "Manage the Configurations" dialog box with these listed configurations.)

    I have created a new configuration called "Simulator Release" copying "Simulator-Debug" and makes it the active configuration, but I don't see how to edit to add - DQT_NO_DEBUG and change the optimization levels, etc.

    When I right click on my project in the Project Explorer, run as / Run Configurations...  I get a dialog box that allows me to select a target (named as: MyApp run_release sim_10_2_1_3175), where I can change the Configuration to build my new Simulator-Release, but then the field to "binary:"running on empty, and won't let me change it. "

    I also see references to a record like 'x 86/o-g' (which I think is where he puts the debug version), and also a folder called "x 86/o" (which is where I assume she would have a Release version).  I guess correctly here?  Why do we have references to the ' 86/o x' without configuration generate to here?

    I hope that this kind of thing would be a little easier, or even built-in when I created at the origin of the project, but I've been googling and try things for half a day with no luck.

    Can you tell me some examples step by step how to do what I'm doing?  I have used many IDEs and other construction systems in my day, but I'm pretty new to Momentics/Eclipse.

    Thank you for any input,

    Ed Federmeyer

    Follow up more!

    Duh!  I realized all of a sudden!

    Rather than include mk/cs - base.mk Makefile for my project, I can COPY cs - base.mk in a local version in my project (cs-base - custom.mk for example) folder, WHICH include and put my additional targets in there, without the need to override the 'clean' target, which means no makefile warning more!

    Happy, happy days!

    Ed

  • 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!

  • Registry failed with an IOException on Simulator

    Hello

    I am trying to execute the sample application of the Simulator, I ran MDS - CS and tried the Simulator Explorer, I can access the debugging portoal. I configured the parameter to the example of client and try to save, it alert IOException. Please find joint photo for example journal of the app, I need help on how to solve this problem. Thank you very much.

    MoWriter

    mowriter wrote:

    Hi Msohm,

    As I read the forum discussions, it is said that the https://pushapi.eval.blackberry.com must be accessible by the device using transport BIS. So I wonder if a simulator can do recording and test button? If so, how to solve the error "forbidden access"?

    Would you please help me out here again? Thank you.

    Snapshot of error log:

    MoWriter

    No, the BlackBerry Push Service cannot be tested using the BlackBerry Smartphone Simulator.  You need a real Smartphone BlackBerry for this.

  • EventLogger events does not appear in the event log Simulator

    So, I was more than a little frustrated with debugging Widget applications and decided to help me a bit.

    I've created a Widget extension that connects to System.out and the EventLogger BB using:

    Logger.Java:

    public class Logger {}

    public static final String APP_NAME = "AppName";
    public static final long GUID = 0xb50dd37e31148effL;

    public static enableLogging() Sub {}
    If (EventLogger.register (GUID, APP_NAME, EventLogger.VIEWER_STRING)) {}
    out ("recorder active.");
    }
    else {}
    ("EventLogger record has failed.");
    }
    }

    /**
    * Prints System.out and event log (if enabled).
    */
    public static {Sub out (String msg)
    String message = formatMessage (msg);
    System.out.println (message);
    log (message);
    }

    /**
    * Prints in the journal of the events with the ALWAYS_LOG level.
    */
    Public Shared Sub log (String msg) {}
    logEvent (msg, EventLogger.ALWAYS_LOG);
    }

    private public static Sub logEvent (String msg, int level) {}
    If (EventLogger.logEvent (GUID, msg.getBytes ())) {}
    System.out.println ("EventLogger.logEvent succeeded.");
    }
    else {}
    System.out.println ("EventLogger.logEvent failed.");
    }
    }
    ...
    }

    The Widget extension works.  I can not even log JavaScript stuff :

    somewhere in file.js:

    Logger.log ("it is JavaScript!");

    as seen by the Eclipse debug console:

    AppName [2010-09-24 12:01:33.609]: active recorder.
    EventLogger.logEvent succeeded.
    AppName [2010-09-24 12:01:33.625]: it's JavaScript!
    EventLogger.logEvent succeeded.

    RIDDLE ME THIS: WHY are the messages NOT sent to the event log Simulator! (9550 or 9800 > tools > Show Event Log does not show my posts.)

    My frustration with BB Monte.

    -----

    Windows XP 32-bit

    Install Eclipse Version: 3.5.2 version identifier: M20100211-1343

    Version plugin Web blackBerry: 2.0.0.201003191451 - 33

    BlackBerry Java plug-in Version: 1.1.2.201004161203 - 16

    BlackBerry Java SDK Version: 5.0.0.25
    BlackBerry Widget SDK Version: 1.0.0.201003191451 - 126

    6.0.0.141 blackBerry SmartPhone Simulator

    As a new BB developer, imagine my surprise when I discovered that the API of EventLogger BB and the BB Simulator event log were completely foreign.

    It's like they're really trying to confuse us.

  • How to test moduleDeletionsPending, in the Simulator, I don't have the option to remove my application

    How to test the following?

    I want to test the functionality by using the method public void moduleDeletionsPending (String [] moduleNames). I had written logic that removes files from an SD card and it works when I call a menu inside my application item.

    However, it should only be run when I uninstall the application.

    In 9700 Simulator, if I select Options > Applications > [highlight the application] > [open the menu by pressing the Insert key on my keyboard] - I don't see the option to remove the application.

    I don't see the delete option for other applications, such as the Klondike card game.

    Should I set a property or the permissions of my app should be deleted in a simulator, so I can test the moduleDeletionsPending method?

    Thank you.

    You will need to 'install' the app in the BlackBerry smartphone Simulator so that your application appear in the list of applications.  You won't see here when you perform an execution/debug as, when you use the file, the option of loading or copy it into the directory of Simulator.

    The following link explains the different ways to install an application.

    How to deploy and distribute Applications

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/how-to-deploy-and-distribute-Applicati...

    Note that you can install using a simulated so USB connection.  Click on the menu of the smartphone Simulator simulation BlackBerry and check USB cable connected.  Note that you can not the debugger attached when installing via a simulated USB connection.

  • How to debug on 8700 os upgraded 6

    Hi all

    I updated my Bold 9700 OS 6. Now when I try to debug on device, I see a message saying "no debug information is found for the"net_rim_cldl"module. Please make sure that you have installed the Simulator package that matches the handheld code you are trying to debug. »

    I tried to install the Simulator for 9780 and 9800 but nothing changes.

    How can I solve this? Is there a special version of the 9700 with os 6 Simulator?

    Kind regards

    Riccardo

    You need to install a BlackBerry smartphone Simulator that corresponds to the version of the BlackBerry device of your BlackBerry Bold 9700 software (4-digit must match).

Maybe you are looking for