MSVC++ Debugger (it kills me)

This is a discussion on MSVC++ Debugger (it kills me) within the A Brief History of Cprogramming.com forums, part of the Community Boards category; My MS Visual C++ compilers debugger locks up my system. This occures at any point that the application would normally ...

  1. #1
    Peace
    Join Date
    Aug 2001
    Posts
    1,510

    MSVC++ Debugger (it kills me)

    My MS Visual C++ compilers debugger locks up my system. This occures at any point that the application would normally crash. To prove this I intentionally accessed an element of an array out of bounds without running in debug. App crashes and exits. I ran again, but this time in debug mode. Lock up. I'm forced to reboot the computer using the power button (Ctrl-Alt-Del doesnt respond).

    This only occures in one specific application. A Direct3D 8 app. Any other application will respond normally to the debugger and all is well.

    Has anyone ever had this problem or have any idea why this could be occuring? What could cause the debugger to lock up?
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    freak compiler bug, make a new projectand see if this happens(this seem to be a bug in many compilers),

    clean and rebuild.

    my favorite MSVC bug is, a line of code does something entirly wierd wrong or diffetent than it should until you copy delete and repaste it, or sometimes completely rewrite it.(no changes)
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Originally posted by no-one

    my favorite MSVC bug is, a line of code does something entirly wierd wrong or diffetent than it should until you copy delete and repaste it, or sometimes completely rewrite it.(no changes)
    Hmm....I havent noticed this one......

    My favorite bug is when the classview deliberately lies to you......

    You create a class......files are created......you compile (or whatever) and the class dissapears from the view......BAH!!!

    BTW....If you ever get this you need to delete the .opt & .ncb files and then reopen.......viola!.....the classes are all represented properly...

    Oh and as to the original problem......you might want to check the forum @ codeguru....they have a pretty good MSVC bug board that's quite handy......

    If not, then I guess doing as no-one said is the best way forward....you might even want to look at reinstalling Visual Studio

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    >You create a class......files are created......you compile (or whatever) and the class dissapears from the view......BAH!!!

    not seen that one...hah
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  5. #5
    Registered User
    Join Date
    Jun 2002
    Posts
    151
    Have you tried remote debugging? Whenever I get the urge to play with Direct X I always seem to have a fair amount of trouble with the debugger (although I can't remember a case where it's completely locked my system).

  6. #6
    Registered User blight2c's Avatar
    Join Date
    Mar 2002
    Posts
    266
    while your on the subject, when you run the debugger what language is that. is it called assembly? are there different dialects for different compliers?

  7. #7
    Peace
    Join Date
    Aug 2001
    Posts
    1,510
    Cant remote debug. Dont have another system lying around.

    Everything works ok with other DX apps. I've a D3D 7 app that debugs just fine. I'll have to try making a new project and seeing what happens. But with over 35 files in the project and a bunch of custom settings, it'll be a pain in the... earhole. Worth a try; I'll post back results.

    /* Edit */

    Made a new project and it works fine now. Oookay. I suppose its the standard MS cure all; "We dont know, but just make a new one and everything will be okay."

    Well, thanks guys,
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. executing from debugger
    By hedwin in forum C++ Programming
    Replies: 8
    Last Post: 10-11-2007, 05:05 PM
  2. Replies: 3
    Last Post: 07-24-2007, 05:25 PM
  3. MSVC: run w/o debugger vs run w/ debuger
    By skorman00 in forum C++ Programming
    Replies: 2
    Last Post: 01-24-2006, 09:49 PM
  4. Problem with MSVC debugger - can't get it to break?
    By BrianK in forum Windows Programming
    Replies: 3
    Last Post: 04-07-2004, 06:22 PM
  5. GCC (cygwin) much faster than MSVC, Borland?
    By Sargnagel in forum C Programming
    Replies: 15
    Last Post: 08-05-2003, 04:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21