typedef void (*PK_DEBUG_SESSION_destroy_cb_t)(PK_ITEM_t, PK_CLASS_t); These callback functions are registered via the PK_DEBUG_SESSION_watch functions. The destroy callback function is invoked whenever a watched item is deleted. The callback is invoked just before the item is destroyed. No guarantees can be made about the state of the item and hence no modelling and/or enquiry operation should be performed on or with the item.