The beetle develops under the bark of the tree .
The beetle produces damage to the wood during pupation .
The beetle develops under the bark of the tree and produces damage to the wood during pupation .