BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-13-2011, 11:35 PM   #1 (permalink)
New Member
 
Join Date: Dec 2011
Model: 8520
PIN: N/A
Carrier: Vodafone
Posts: 14
Post Thanks: 2
Thanked 0 Times in 0 Posts
Default Not able to debug when listening the background for push

Please Login to Remove!

I am trying to debug my Application which has an alternate entry point to listen to any push ....I tried to debug this Application in device....I used a port 101 for listening which I added to the BES MDS Connection Service too...This is enough to do it right?

Now My problem is when I try to debug the App it enters into the alternate entry point but gets stuck for along time....So I tried to stop debugging by clicking the stop debug button...As soon as I click on it the Application Login Page appears.....Why does this happen ....When I checked with my server side person he told that he got an error code of 2002 which is the PIN not recognized ....But I have registered the PIN of the device in the BES....What is the server looking for ?Is it the PIN of the device in which I am debugging or is it 2100000A of the MDS ...I am not sure about this...Please help me....
Offline  
Old 12-14-2011, 09:54 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: Not able to debug when listening the background for push

2100000A isn't associated with the MDS simulator, it is associated with the BlackBerry simulator. Are you debugging on a physical device, or on the simulator? You post is not very clear on that point.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 12-15-2011, 07:18 AM   #3 (permalink)
New Member
 
Join Date: Dec 2011
Model: 8520
PIN: N/A
Carrier: Vodafone
Posts: 14
Post Thanks: 2
Thanked 0 Times in 0 Posts
Default Re: Not able to debug when listening the background for push

I am trying to debug in the simulator and the PIN I referred to is that of Simulator.
Offline  
Old 12-15-2011, 08:19 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: Not able to debug when listening the background for push

I've always had more luck debugging MDS services on an actual device, but you can get the simulator activated on a BES, see this link: Connect the BlackBerry Device Simulator to a Black... - BlackBerry Support Community Forums
__________________
My other Blackberry is a PlayBook.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Not able to debug when listening the background for push
Thread Thread Starter Forum Replies Last Post
New App: RunningIcon monitor background apps Smiley8 Aftermarket Software 0 01-07-2011 01:06 PM
trouble with background Morion Developer Forum 8 06-29-2009 06:18 AM
Background colour showing through field background ilh3- Developer Forum 2 08-15-2008 10:48 AM
Popup Screen from background thread (without white background) arv Developer Forum 1 06-30-2008 04:09 AM
Step-by-step tutorial on creating custom BlackBerry device themes! d_fisher BlackBerry Themes 0 10-17-2006 08:30 AM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.