View threads
The threads pane displays all threads running on the BlackBerry® device. The most recent thread appears yellow.
To view the source code in the text edit pane, double-click a thread. The BlackBerry® IDE marks the line in the source code that started the thread with an arrow.
Thread format
The Thread column displays each thread in the following format:
- name is the name of the process that started the thread
- pid is the ID of the process that started the thread
- status is one of the following:
thread is executing a "synchronized" statement and is forced to wait
Make a thread current
When you make a thread current, the Call Stack changes to display the calls for the thread. Other windows may display updated information that relates to the new current thread.
Expand objects
In the threads pane, the following fields indicate the status of an object:
- thread that currently owns the object (Thread owning lock: @nnnnnnnn)
- thread calling Object.wait() (Thread waiting for notify: @nnnnnnnn)
- thread is attempting to enter a synchronized block for the object (Thread acquiring lock: @nnnnnnnn)
Related topic