1) put breakpoints on your code to step it through2) post your code here so we can see what you're trying to run