How much can buffs and debuffs stack?
In Guild Wars 2, when casting an existing buff (boon) or debuff (condition), rather than overwriting the current buff (or debuff), it will apply it's own separate effect. The wiki explains that these effects will stack with previous applications, either by stacking the intensity (ie. Casting the same Might spell twice will double the effect), or the duration.
The wiki explains how boons stack in intensity.
Is there an upper limit to the intensity (either by number of stacks, or total effect) to any buffs or debuffs?
All intensity stacking effects (Might, Bleeding, Confusion, and Vulnerability) stack to a max of 25 times. Each stack has it's own internal duration.
All duration stacking effects (Fury, Protection, Regeneration, Retaliation, Swiftness, Vigor, Burning, Chilled, Crippled, Immobilized, Poison, Weakness, Stability) seem to have a max time limit of 22-24 hours. (The Guardian Virtue of Courage passive provides a 24 hour Aegis when it ticks.) The entire duration has the intensity of the best intensity applied to the stack.
Quickness is not a boon, but instances of Quickness do stack duration with each other as well.