c# 调试 “该进程或线程自上一个步骤以来已更改“ 问题解决

记录一下开发中遇到的问题

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

摘自:https://www.cnblogs.com/huchaoheng/p/3753887.html

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值