該進程或線程自上一個步驟以來已更改


相關解決辦法如下:

VS進行高度時,斷點處提示“該進程或線程自上一個步驟以來已更改" 每個斷點跑兩遍似的。

這個是由於在VS環境中 勾上了 ”工具\選項--->調試--要求源文件與原始版本完全匹配“這個項

 

該進程或線程自上一個步驟以來已更改

英文表述:The process or thread has changed since last step

 

以下是是從網上摘錄的解決辦法。

 

 Q:

I have a console application that executes a static method in a class on a new thread.  When I step through the statements in the method, the breakpoint is moving to previous statements.  When I hover over a small blue exclamation mark, the tooltip reads 'The process or thread has changed since last step'.  I've never seen this before and it wasn't happening earlier today when I was debugging the same class method.

If you know the cause and how to resolve it, I would appreciate it if you could please let me know.

Many thanks.

A:

It sounds like the code you're stepping through doesn't match the binaries that are being run.  Try doing a clean rebuild of your solution and verifying that the code matches the symbols (Tools\Options -> Debugging -> Require source files to match

Michael Taylor 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM