Most lung or
chest wall
pain, which includes the ribs, muscles, cartilage, etc, occurs with inspiration as does classic pleurisy. Still, the pain you describe is worrisome and calls for further investigation. I wonder about the diagnosis of chronic bronchitis “most of my life”. If it began in childhood, for example, and especially if it is not related to cigarette smoking, it may not be chronic bronchitis, but rather some other type of chronic lung disease, including asthma.