相關解決辦法如下:
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
