Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging commands (step over/into) cause unhandled exceptions

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 Illegal Instruction exception or an Access Violation exception being thrown by my application. If I right-click on the next line and choose "Run to here" (equivalent to "Step over"), it works fine.

Addendum: there is nothing in any watch windows.

Also, here's something I forgot to mention: if I attach to the process, everything works just fine.

Has anyone run into this problem before?

like image 305
moswald Avatar asked May 07 '09 20:05

moswald


1 Answers

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.

like image 167
Goran Avatar answered Oct 04 '22 21:10

Goran