Thread: Visual c++ .NET Debugger problem

  1. #1
    ♥Sexy Coding Hunk♥ CartoonLarry's Avatar
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    50

    Visual c++ .NET Debugger problem

    Visual c++ .NET Debugger problem.

    When I step through "any code" the debugger is stepping 4 to 10 lines behind the line of code that is executing.

    For example: If I were to set a breakpoint at line 100 the program would show it breaking at let's say line 92. The program actually breaks at line 100, but since the program is not showing it break on the correct line it has been very frustrating.

    Is this a known bug?
    If so, is there a resolution?

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Have you tried rebuilding the entire solution?
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    ♥Sexy Coding Hunk♥ CartoonLarry's Avatar
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    50
    I recompiled it. I even created a new project file and still the same problem.

    I don't think it is the debugger anymore because of something else strange that is happening.

    When I right click on a declaration of one of my class methods and select "Go to Definition" it goes to the definition sort of. The cursor goes 4 to 10 lines above the definition just like it does when I am stepping through the program during debugging.

    It doesn't matter what code or project I open this occurs every time.

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Have you tried reinstalling VC++ .NET?

    gg

  5. #5
    ♥Sexy Coding Hunk♥ CartoonLarry's Avatar
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    50
    Have you tried reinstalling VC++ .NET?
    I requested to have it re-installed.
    I'm sure they will get around to it in the next month.
    Of course I could install it if they would allow me to, but that would be to easy.

    Thanks for the suggestions folks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 08:26 AM
  2. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  3. question about .net to 6.0 change causing errors
    By jverkoey in forum C++ Programming
    Replies: 17
    Last Post: 03-23-2004, 10:45 AM
  4. Visual Studio .NET beta 2
    By Marky_Mark in forum C++ Programming
    Replies: 1
    Last Post: 11-05-2001, 11:28 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM