HOWTO debug Webworks on VMWare Dev Alpha Simulator?

Hello

I'm developing an application Webworks. I can't use training Simulator because it does not implement 'cards' and does not implement the API pim.contacts.

I have no device Dev Alpha, so I use the VMWare of the Q10 Simulator.

My question is:

-can I somehow debug the webworks app?

-I can at least see the console.log output somewhere? How?

-Is taken in charge for BB10? : http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-debug-BlackBerry-web-appl...

-can I change my javascript and HTML without repackaging in ripple or command line. I'm changing code, repackaging, hoping for the best. It is not productive, and feels like the glacial period.

Thank you

Hi escay,.

1. "I can somehow debug the application of webworks. Yes, wrap it with the - d option. Your Simulator will have an IP address in the lower corner. You should be able to connect to the Web Inspector via : 1337 and see your pages.

2. "I can at least see the output somewhere console.log? «»» How? "Yes, you can see the console Web Inspector . After following the steps above.

3. Yes, you can use web Inspector. Your device must be in debug mode and your application packed with - d.

4. Yes, you can. Direct your config.xml to your local Web server. This will pull the content of the server application and allow you to be updated on the fly. All you have to do is to hit refresh, .

Hope this information helps.

Tags: BlackBerry Developers

Similar Questions

  • Unable to connect to BlackBerry 10 Dev Alpha Simulator

    Dear,

    I can't connect to my BlackBerry 10 Dev Alpha Simulator.

    It worked yesterday, but suddenly today I can't connect,

    I check my cpu and found that virtualization enabled and active development.

    Can someone help me why I can't connet to the Simulator?

    Help, please

    I found the error

    My VMware network card has been disabled.

  • BB 10 Dev Alpha Simulator 10.1 beta - screen resolution

    I couldn't get my Android app BAR file to install on the current version of the BB 10 Dev Alpha Simulator (10.0.10.261) so I tried to install the Beta 10.1 Simulator and my app installed first and short big.  The only problem is the screen seems to be much smaller than the 10.0.10.261 version, I read in the release notes that the resolution is only 720 x 720.  Is it possible to change this?  Or can we expect a resolution screen than the final version?

    Thank you

    Jonathan

    I realize now it's the resolution for the upcoming phones of the physical keyboard BB10 (X 10).

  • Feature on BlackBerry 10 Dev Alpha Simulator

    Greetings,

    I would like to know what device simulates the "BlackBerry 10 Dev Alpha Simulator"? In my view, that simulates the Q10 of BlackBerry, I would like to know if it is possible to emulate the Z10 BlackBerry, because the size of the screen is different in these two devices, or would like to know how whether the behavior of the GUI of my application, each of these two devices.

    Best regards!

    Hello
    Recent versions of Simulator offer to choose a type of screen during startup. Square screen (720 x 720) Q10 & Dev Alpha C's rectangular Z10 & Dev Alpha one

  • BB10 Dev Alpha Simulator Dev Mode doesn't work

    Hello!

    I have a problem with BlackBerry 10 Dev Alpha Simulator. When I go into the VM for the 10 Dev Alpha settings BlackBerry Simulator and enable development mode, the icon of the Mode of development will not displayed it.

    I can't see the IP address of Simulator and install my application.

    Screenshot:

    U can not find the icon of the mode of development in the Simulator. What you have to do, it is after switching to the mode of development for sure, go into settings,-> select network from the drop-down list-> note in ipv4 ip address... And it's ip address, you use the mode of development.

  • Cannot open applications on BlackBerry 10 Dev Alpha Simulator

    Hello

    I try to use the Alpha of Dev (10.0.10.261) Simulator, 10 BB with VMPlayer 5.0.1 on Windows 7 64 bit.  The Simulator seems to start OK, even if I have to choose (option 2) safe mode when the virtual machine starts because the normal mode always hangs when starting.  The splash screen appears followed by the home screen with the default application icons.  The home screen responds to clicks, but whenever I try to click on an application to launch (settings of the calendar/contacts/etc.), the icons in the home screen slide off the screen to the right and then reappear about 6 seconds later and the application does not start.  The same thing happens if I click on 'Settings' in the options slide down from the top of the screen.  Y at - it something I am doing wrong?

    Any help appreciated,

    Jonathan

    I uninstalled the Simulator, re-installed and seems to be working now!

  • Could not resolve hostname error in Dev Alpha Simulator

    In my Dev Simulator, since today morning, I get the error "Could not resolve the host name", whenever I have to load a url in the browser. I've seen a lot of posts where people have reported that for the PB.

    If someone has encountered something similar in the Simulator. I already reinstalled my Simulator so the two vmware times.

    Any help would be appreciated.

    -Dishooom

    Oops... It seems that my corporate firewall is blocking my connection VMware... Solved...

  • Requesting help to quickly test the app photo webworks on device Dev Alpha

    Hello world

    I was wondering if there is a developer who has a dev peripheral alpha ready to do a quick test drive of a photo app that we built.  It runs in the ripple and the Simulator, but it's really hard to tell if there will be questions about the real deal :-)

    If you could provide assistance to another developer, it would be much appreciated!

    Sure.

    You have a message. With a few screenshots set.

    Good luck with your application to finish!

  • App playBook on Dev Alpha Simulator - Exec format error

    I'm trying to run my application on the Simulator BB10 of Flash Builder. It seems to install with some success (creates an icon in the Simulator). But my application does not start and gives this error:

    Failed to create the application process: Exec format error

    Finally got it working by changing the NIC settings in VMware (change 'Share with my Mac' Ethernet). Restarted the Simulator and put the new IP address in the configuration of race of Flash Builder.

  • Unable to telnet BB10 dev alpha Simulator

    I'm not able to telnet Simulator running after a command...

    Telnet

    It gives me error: could not open connection to the host, on port 23: Connect failed

    For this reason, I can't deploy my application on the Simulator.

    Thank you.

    In fact, the problem was different. Network card in the computer virtual has been disabled. Therefore, IDE was not able to find out. Permit to it and its working now. Dumb question

  • Dev Alpha Simulator lag (no not in ripple)

    Guys, I really need your help. There is no problem in ripple, but in the Simulator, I can't click the button. He accuses the application.

    The sim card does not support the

  • How can I get the keyboard to display in the simulator of Dev Alpha?

    Hello

    I use the Dev Alpha Simulator to test my apps of Cascades, and I need to type text in the fields in my application. I can just click and type the keyboard of my Mac, but capitalization does not work. So, how can I get the BlackBerry keyboard to display on the simulator - so that it looks like a real device?

    Thank you.

    Hello
    You can click on the lower right corner, and the keyboard will be visible.

    Kind regards

    Sommily

  • BlackBerry Dev Alpha & Cascades example 10

    I'm running through the example to create your first application Cascades with him comes out BlackBerry Dev Alpha Simulator (running on Mac OS X 10.7.3) 10 and problems to make the MyFirstApp running (I'm running the App on this page section: https://bdsc.webapps.blackberry.com/cascades/documentation/getting_started/first_app/lightning_cross... - I get the error "Cannot start MyFirstApp due error 8" on the Simulator and "Impossible to") determine PID returned to launch' error in the IDE. Has anyone else encountered this problem?

    Thanks in advance

    Simon

    Please ensure that you deploy the x 86 target and not the ARM variant to the Simulator.

    Daryl

  • No image appears on the Dev Alpha A

    Hello

    I deploy my application on the Simulator and Dev Alpha, but some picture big can not display on Dev Alpha but still works smoothly on Simulator.

    Someone tell my why?

    Seems real...

    Texture size max for Dev Alpha Simulator has been specified to be 8192 x 8192 pixels pixels.

    See this http://developer.blackberry.com/native/documentation/bb10/understand_the_blackberry_dev_alpha_simula...

    Maybe this isn't the case with real hardware.

    -Dishooom

  • Question of BB10 Dev Alpha: debugging token is invalid

    I'm trying to get a token of debugging on my dev alpha device and it just cannot work. I can create, validate, and install the token, but it generates an error: debugging token is not valid. Or not applicable for this device.

    10.0.4.197 OS version

    Build ID: 196525

    PIN: 29D939F4

    Start: 28 June 21:32:34 UTC 2012

    I use BlackBerry 10 WebWorks SDK 1.0.0.15

    I just restarted the device. It is currently 21:26 according to my computer clock and the BB10 clock is synchronized with the clock of my computer... it of doesn't look right... the listed start time is 5 minutes in the future.

    Here's what I did.

    blackberry-debugtokenrequest -storepass storepass -devicepin 29D939F4 debugtokens\BB10_Dev_Alpha_debugtoken_29D939F4.bar
    

    Info: Debug token created.

    blackberry-debugtokenrequest -verify debugtokens\BB10_Dev_Alpha_debugtoken_29D939F4.bar
    

    Issue date: 28 June 2012 02:02:59 CEST
    Expiration date: 28 July 2012 02:02:59 CEST
    Features:
    702102004

    Info: Debug checked token.

    I checked the device PIN above (702102004) is correct. This is the decimal version of my device PIN (29D939F4)

    I tore the debugging, and here's the manifest token:

    Archive-manifest-Version: 1.2
    Archive-created-by: BlackBerry BAR package v1.4

    The package author: XXXX
    Package name: debug.token
    Package version: 0.0.0.8
    Package-Type: debug-token
    Package-author-certificate-Hash: XXXX
    Package-author-Id: XXXX
    Package-Id: XXXX
    Package-Version-Id: XXXX
    Package - Issue Date: 2012-06 - 29 T 00: 02:59Z

    Debug-token-system-Actions: run, multi_window, multi_instance, run_air_native, run_native
    Debug-token-expiration Date: 2012-07 - 29 T 00: 02:59Z
    Debug-token-device-Id: 702102004

    I was thrown for a moment of the date (Date of show-package -: 2012-06 - 29 T 00: 02:59Z) until I realized it was just

    my current time converted to offset - 0. I am currently in Toronto, where it is now UTC - 4.

    blackberry-deploy -installDebugToken "C:\Program Files (x86)\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.0.15\debugtoken.bar" -device 169.254.99.117 -password password
    

    Info: Send request: install Debug Token
    News: Expired session reset
    Info: Send request: install Debug Token
    Info: Action: install Debugging token
    Info: File size: 2273
    result::success

    Yet, the device don't like this token. Here is the result.

    Any ideas to know what could be the problem here?

    Thank you

    Stem

    Rod,

    I had the same problem with my alpha chips and debug dev. Setting date/time is the source of the problem.

    Here is the fix:

    • The mode of development
    • Set your date/time to June or the date in the past.
    • Check your token security and debugging
    • Debugging token becomes valid

      My date is June 25

    Let me know if this solution worked for you! Worked for me.

Maybe you are looking for

  • I'm the only person who can't watch youtube videos after the Flash update?

    I use Firefox 8 version Mac OS x Lion. A few hours, I updated Adobe Flash and from that moment, youtube videos will not be displayed in FF. I get a black screen instead of the video.Does not happen in Safari, where videos are shown perfectly. That's

  • Qosmio X 770-12 M with Win7 - how to make a screenshot?

    HelloI have new Qosmio X 770-12 M with Windows 7 and I have brought s screenshot, but I couldn't > Can someone help me in this?

  • How to do factory reset of Marshmallow manual

    Hi, I lost half the functionality of my phone g2 bike during the upgrade of the marshmallow crossed. * cannot receive calls * can't slide down the menu from the top of the screen * No message notification, just sound * Unable to connect to the PC * f

  • On the PXI-8106 serial port connection problem

    Currently, I am trying to connect to the serial port on the PXI-8106 via RS232 module. However, when I try to run the Test VI opened for COM1 MAX (PXI Remote) running on a PC, I received an error like below: Returns the status code: 0xBFFF00A8 Name o

  • My computer locked out

    I'm stuck on my computer, I changed my password, I have not done something differently and tried to turn off, press Ctrl alt delete and typing in my password and I am still locked. Anything else I can try?