Copyright ã 2005 Symbian Ltd.
10
What is a panic?
•A panic is a Symbian term used to denote an unexpected exit of a thread
…A thread is the unit of execution on Symbian OS
…Processes must have at least one thread to begin executing code
•A panic denotes a serious coding error.
…Either by the caller of a function which has violated an API contract (e.g calling a function with invalid paramaters)
…or that a object or memory structure has moved into a bad internal state causing an Invariant
•Panics are helpful
… They aim to inform you about the exact nature of the problem during development