Thanks for your comments, Joe Joe Strout wrote : > Well, first just check your code for the most common source of your > problem: one of your Paint events is causing something to refresh -- > which, of course, triggers the Paint event again. Paint should never > change control state, or do anything else except paint to the given > graphics. > > In fact, if you pause it in the debugger and look at the stack, you > ought to be able to see exactly where the loop is and how it's > re-entering. > > If still stumped, then start commenting things out, starting with > your Paint events. When you comment out a Paint event, and the > problem goes away, then that event's code is involved in the problem, > so you know to focus there. > > As for debugging, this sort of problem is best tackled with the > remote debugger. This will of course require two computers (ideally, > side by side). Another option is to forego the IDE's debugger and > make liberal use of System.DebugLog instead. >
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
