Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
664 views
in Technique[技术] by (71.8m points)

visual studio 2008 - 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...