I thought they looked like big gray cocoons. As a kid, I would poke them with a stick or light them with a Bic lighter and watch immature caterpillars fall out, hopefully to die or be eaten by birds.
But I have a lot of weeds with a little "white spit" where one leaf meets the stem. Is that some insect pest?