is this the whole program or just some code in addition to an overall program? do you have a coordinate class by any chance because that may be where the debugging needs to be done.... one thing to...