|
-
October 23rd, 2006, 08:32 AM
#1
Debugging program which has complelely 'hung'
Hi all,
Sorry to ask another question, but I have a strange problem with my code in that it is hanging after I execute a certain event handler. I have put MessageBox::Show's and Debug::Print's in there at strategic points, so I know where it seems to hang. The interesting thing is that sometimes it hangs after the event handler has done everything, but before the final end brace, and sometimes it hangs after the event handler has actually finished executing completely.
The problem is, of course, that I have no idea what code is being run when it hangs - and therefore what is making it hang. Is there any way I can debug this properly? Of course because it hangs I don't get an error message, or an exception, so can't debug the traditional way.
Any ideas anyone?
Robin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|