Merlin logoThe Merlin++ accelerator simulation program library

Debugging Tips

A collection of what we've learned from experience - what is likely to go wrong, and the best ways to sort things out. We hope that future users will profit from our mistakes and not repeat them
  • Trust nothing.
  • Put in lots of cout statements to make sure where the program has got to and what it is doing