DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. IoT
  4. Debugging Error with PlayBook Emulator

Debugging Error with PlayBook Emulator

Terrence Ryan user avatar by
Terrence Ryan
·
Apr. 15, 11 · News
Like (1)
Save
Tweet
Share
7.12K Views

Join the DZone community and get the full member experience.

Join For Free

I ran into an issues while trying to launch a PlayBook app from Flash Builder Burrito in Debugging Mode.

I launched and the "Launching [Application name]" indicator in the bottom right corner just slowly inched up to 100%, but nothing happened. Eventually I got error messages.

From Flash Builder:

The Flash Builder debugger failed to connect to the running application.

Ensure that:

1. For in-browser applications, you are running the debugger version of Flash Player.

2. For debugging on a mobile device, you have a reliable WiFi connection to the device, and port 7935 is open on your machine's firewall.

On the emulator:

Unable to connect to the debugger at address x.x.x.x, enter the correct host name or IP address or select cancel to continue without debugging.

The cause of this error is that your Default Debug Host IP is wrong. To get to this setting:

Go to Flash Builder Preferences
FlashBuilder ->
Target Platforms ->
BlackBerry Table OS

In my case the reason the error happened was a bit confusing. But it came down to this. That IP address got set to my public IP address in my hotel. When I went to present I didn't have a network connection, and so that address was no longer present. The easiest fix for this when using the emulator is to set that Default Debug Host IP to the gateway of your VMWare's NAT setup.

I don't have an easy was of getting that, but the way I did it was:
Determine IP address for Playbook emulator
BlackBerry Settings
About ->
inet

For me 192.168.253.138.

Determine all of my system's IP addresses
OSX ifconfig
Windows ipconfig

When I did that, I found one address (192.168.253.1) that was a reasonable bet for the gateway of the NAT network.

mobile app Host (Unix) Nat (unit) Debug (command) BlackBerry Network Connection (dance) Indicator (metadata) Ipconfig

Published at DZone with permission of Terrence Ryan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Silver Bullet or False Panacea? 3 Questions for Data Contracts
  • Too Many Tools? Streamline Your Stack With AIOps
  • The New DevOps Performance Clusters
  • What Should You Know About Graph Database’s Scalability?

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: