Level 1: you get 1, 2 or 3 chocolate bars. Not very useful at all, since you can't coat your sword any more than you already did.
Level 2: You either pick all the candies you had thrown down (hello, five seconds rule?), talk to a shoemaker or journalist who gives you a lot of candies, or increase the production limit of your lollipop farm.
In this latter case, you'll be able to take it up to 10000 lp/sec, with something like 1,700,000 lollipops planted. Just keep clicking that '1000' button.
Level 3: Your sword level decreases by 3 (not often), or it increases by 1 (more often), or your candies are multiplied by three (more often).
This is how you can get to ridiculous amounts of candy once you have enough lollipops to run this bug many, many times (which, granted, might take a while).
And by ridiculous I mean in the order of 10^70. You should start with a big amount for this to be more effective.
(For instance, right after beating Developper's computer again.)
This bug can also give you the wonderful Sword of Liflamesummoning (just once).