Debugging commands (step over/into) cause unhandled exceptions

前端 未结 4 495
不思量自难忘°
不思量自难忘° 2020-12-09 22:42

I\'m using Visual Studio 2008 on a 64-bit version of Vista. After my program stops on one of my breakpoints, I can\'t step over or into the current line without either an I

相关标签:
4条回答
  • 2020-12-09 23:10

    Is your application multithreaded?

    In case it is:

    Are you shure the Access violation is thrown by the thread that you are debuging ? Did you freeze all other threads?

    0 讨论(0)
  • 2020-12-09 23:12

    If you have any function calls in any of the watch windows, clear them out.

    0 讨论(0)
  • 2020-12-09 23:23

    Are you getting the exceptions in your application, or Visual Studio itself?

    I would start by doing Clean on the entire solution then Build again. Sometimes if your binaries get out of sync you can get weird behavior when debugging.

    0 讨论(0)
  • 2020-12-09 23:37

    Mos, I was wondering have you resolved this problem (since I also have it with VS2005 and VS2008 on 64-bit Win7)?

    Edit: "Uncheck Tools/Options/Debugging/Native/Enable RPC debugging" was suggested in comment, and seems to be the answer.

    0 讨论(0)
提交回复
热议问题