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

Java Development

A stack trace

by Retired ‎02-17-2010 01:53 PM - edited ‎02-17-2010 01:56 PM (1,599 Views)


This article applies to the following:

  • BlackBerry® wireless devices based on Java™
  • BlackBerry Java Development Environment (JDE)
  • BlackBerry Simulator


A stack trace is a sequential list of every submethod that a piece of code calls, listed in reverse order. For example, if method A contains a call to method B, and your program stops responding in method B, the stack trace will look like the following figure:


A stack trace is useful because it enables you to track the flow of data through your program more easily. To view the stack trace during any break in the execution of your program (either at a breakpoint or after an error has occurred), on the View menu, click Call Stack (or press ALT + F7).

Users Online
Currently online: 44 members 3,927 guests
Please welcome our newest community members: