Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
New Contributor
joelo
Posts: 5
Registered: ‎08-13-2011
My Device: Curve

Unable to debug, myApp.debug file missing / bad debug information

[ Edited ]

I can build and run my app on the simulator without any problems. However when I try to debug (set breakpoints) my app I get an error message "cannot find file" myApp.debug. I can browse and locate the myApp.debug file but when I select it I get an error message "bad debug information" with two hex strings (I assume that the debug file is being matched to the cod file). I can cancel and the simulator will start but the debugger won't stop for any breakpoints.

Once running the simulator displays the following error  in the debug tab: "no debug information found for 'myApp' (4e74b7b1)." I get the same message for SecurIDLib as well.

I can debug the hello world demo without any issues.

 

I've tried the following without success:

reinstalling the simulator

signing the files

clean from the build menu

running clean.bat from the simulator directory

manually removing the files (from my project and the simulator directory)

switching to a different simulator (device)

deleting the .dmp files

 

I was able to debug prior to a reinstall of the JDE for an unrelated problem.

 

I'm running:

Windows 7 (64 bit)

Java JDK 1.6.0_26 (32 bit)

Java JRE 7 (32 bit)

Blackberry JDE 5.0.0.25

simulator 8530-Verizon-5.0.0.886

BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Unable to debug, myApp.debug file missing / bad debug information

Does the application in the simulator match the one in your Eclipse project?  If they differ, the debug information will be invalid.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Contributor
joelo
Posts: 5
Registered: ‎08-13-2011
My Device: Curve

Re: Unable to debug, myApp.debug file missing / bad debug information

Not running Eclipse, JDE. However, I've deleted both the .debug and .cod files from my project folder and from the simulator folder. After a build they appear in both locations so I assume that they are paired.
BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Unable to debug, myApp.debug file missing / bad debug information

Do you also receive this error when using one of the simulators bundled with the BlackBerry JDE or is it only for simulators installed separately.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Contributor
joelo
Posts: 5
Registered: ‎08-13-2011
My Device: Curve

Re: Unable to debug, myApp.debug file missing / bad debug information

I get the same error regardless of the simulator I use.
BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Unable to debug, myApp.debug file missing / bad debug information

Did you install the the program files directory?  Windows Vista/7 can lock this down and prevent applications from writing there.  Files may look to be in that directory but are really linked to from somewhere else.

 

Have you disabled UAC?  Are you logged in as an administrator?  If not, try installing to a user directory instead of the program files directory.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Contributor
joelo
Posts: 5
Registered: ‎08-13-2011
My Device: Curve

Re: Unable to debug, myApp.debug file missing / bad debug information

It installed, by default, in C:\Program Files (x86). I had to set user permissions for anything to work. It was working fine before I reinstalled. I reinstalled to fix an unrelated problem - compile errors not showing as links to the line in the source.
BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Unable to debug, myApp.debug file missing / bad debug information

Did you do a full uninstall (uninstall simulators, delete directories)?  If not, I recommend uninstalling re-installing the BlackBerry smartphone simulators.  They configure themselves with Eclipse/BlackBerry JDE when they are installed.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker