Debug commands (switch / enable) raise unhandled exceptions

I am using Visual Studio 2008 on a 64-bit version of Vista. After my program stops at one of my control points, I cannot go either to the current line, without excluding the exception of illegal instructions or the exclusion of access violation that my application throws. If I right-click on the next line and select "Run to here" (equivalent to "Step over"), it works fine.

Application: there is nothing in any viewport.

Also, here I forgot to mention: if I join the process, everything works fine.

Has anyone encountered this problem before?

+6
debugging visual-studio-2008 crash
source share
4 answers

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

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

+7
source share

Do you get exceptions in your application or in Visual Studio?

To begin with, I will do "Clean" on the whole solution, and then "Build" again. Sometimes, if your binaries are out of sync, you may get strange debugging behavior.

0
source share

Is your application multithreaded?

If:

Are you trying to fix an access violation that throws a thread that you are debugging? Have you frozen all other topics?

0
source share

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

0
source share

All Articles