Troubleshooting guide
Debugging applications.............................................................................................................................. 246
Use breakpoints.................................................................................................................................... 246
Debug an application in the BlackBerry IDE.....................................................................................247
Manage a debugging session..............................................................................................................248
Locate an error in the source code......................................................................................................248
Run an application to the insertion point..........................................................................................248
Debug an application on a BlackBerry device ..................................................................................248
Step through lines of code in an application ....................................................................................250
View statistics to locate memory leaks ..............................................................................................250
Display objects in memory to locate object leaks .............................................................................251
View local variables...............................................................................................................................252
View variable or expression information............................................................................................252
View static data .....................................................................................................................................252
Evaluate (watch) Java expressions......................................................................................................253
View threads...........................................................................................................................................253
View the data members of a process..................................................................................................254
View the call stack.................................................................................................................................254
View event logs......................................................................................................................................254
View classes............................................................................................................................................255
Optimize source code using the BlackBerry IDE profiler tool ........................................................255
Analyze code coverage .........................................................................................................................257
Start the BlackBerry email simulator................................................................................................. 259
Working with compiled applications......................................................................................................... 260
Load and remove applications............................................................................................................ 260
View application information .............................................................................................................. 261
18 Packaging and distributing applications .................................................................................................... 263
Preverify applications...................................................................................................................................263
Determine if your code requires signatures .............................................................................................263
Controlled APIs ......................................................................................................................................263
Register to use RIM controlled APIs ......................................................................................................... 264
Restricted access to code signatures ................................................................................................ 265
Request code signatures............................................................................................................................. 265
Request code signatures using a proxy server................................................................................. 266
Request a replacement registration key........................................................................................... 266
View signature status........................................................................................................................... 266
Distributing applications over the wireless network...............................................................................267