CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,835

    Re: Multithreading + debugging = driving me crazy

    Not me - it's still driving me crazy. Only ever happens with XP.
    "A problem well stated is a problem half solved.” - Charles F. Kettering

  2. #17
    Join Date
    Nov 2003
    Posts
    2,185

    Re: Multithreading + debugging = driving me crazy

    Well, it's a long time I have had these lock ups. This is what I did (will not assure it will work):

    1) Install latest service pack
    2) When debugging in multithreaded, be sure to Rebuild All every time.

    If this is not working, let me know so I can stop rebuild all each time

  3. #18
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,835

    Re: Multithreading + debugging = driving me crazy

    Quote Originally Posted by Tischnoetentoet
    Well, it's a long time I have had these lock ups. This is what I did (will not assure it will work):

    1) Install latest service pack
    2) When debugging in multithreaded, be sure to Rebuild All every time.

    If this is not working, let me know so I can stop rebuild all each time
    1) I've currently got XP SP2 installed. I don't know if that's the latest one but it doesn't make any difference.

    2) I'll give that a try for a few weeks!!
    "A problem well stated is a problem half solved.” - Charles F. Kettering

  4. #19
    Join Date
    May 2004
    Posts
    75

    Re: Multithreading + debugging = driving me crazy

    Well, I'd rather restart when VS hangs than rebuild all every time, this would take less time in case of my project (legacy code bload)

    Do you have any plugins in VS installed? I had relatively good experience with first deleting the *.ncb file and disabling Visual Assist - only one lockup in about 20 debug sessions now...

  5. #20
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,835

    Re: Multithreading + debugging = driving me crazy

    Personally, I don't have any plug-ins installed but now that I think of it, you're right. It would be quicker to re-boot than keeping doing multiple rebuilds.

    One other thing... how many of us are using VC++ 6.0 / VC++ 7.0 etc? I'm on VC++ 6.0
    "A problem well stated is a problem half solved.” - Charles F. Kettering

  6. #21
    Join Date
    Nov 2003
    Posts
    2,185

    Re: Multithreading + debugging = driving me crazy

    Now you are talking about it. Back then, I used Visual Assist a lot. Now, I don't have it installed anymore (trial was over), and no crashes.

    But, I am not sure if I can say Visual Assist was causing the problems.

  7. #22
    Join Date
    Nov 2002
    Location
    California
    Posts
    4,556

    Re: Multithreading + debugging = driving me crazy

    Quote Originally Posted by John E
    ...One other thing... how many of us are using VC++ 6.0 / VC++ 7.0 etc? I'm on VC++ 6.0
    I also still use VC++ 6.0. I never before saw a need to update, and I like the IDE (the Class Wizard, for example, is apparently not part of the newer IDEs).

    But I'm start to tire of the non-compliant compiler, especially as I start to use more of Boost. So, I might be moving to VS 2005 <shudder>

    Mike

  8. #23
    Join Date
    May 2004
    Posts
    75

    Re: Multithreading + debugging = driving me crazy

    I am also on VC++ 6.0 SP6.
    Now that I disable VA every time before I debug, I experience much fewer lockups.

    Another thing to be checked is what other programs are installed and running, for example, I have NAV installed here. The firewall does not seem to be an issue, since I once used ZA and switched to Sygate but still experience the same problems. Also, I did not realize a difference from the MSVC service packs.

Page 2 of 2 FirstFirst 12

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