CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Mar 2011
    Posts
    59

    [RESOLVED] Multi thread debugging

    Hello all, Sorry Im so fresh at programming that im not really sure whats going on here.

    I have 3 threads that I create in the back ground, and for some reason my program works then the next time it doesn't work. The errors are consistent but once I fix one there are completely different errors which bear no relation.

    One thing I notice is when I take one step while debugging inside one of my threads the other two threads complete a full cycle. How can I have these threads step one at a time? I want to know EXACTLY what my other threads are doing when im on this step. I want to see it working how it would normally work just much slower. Debugging I do not get to see this so it is really hard to find my real errors. Thanks for any advice.


    EDIT: Forgot to mention, also when debugging my program does strange things, like when im looking in a thread instead of executing the next line it restarts the thread, why would this happen? If the program is actually reacting in this way I could see why Im getting some of the errors I am getting. Otherwise Im really not sure what my issues are.
    Last edited by DKS1282; April 19th, 2011 at 11:25 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured