2021/03/30

VS调试程序提示:检测到ContextSwitchDeadlock

小白用Visual Studio调试程序时,等了大概1分钟,突然提示:检测到ContextSwitchDeadlock,Google后,有人建议要调整Managed Debugging Assistants的设置,可我的程序只增加了一点内容,用于调用Oracle中的Procedure啊,跟Managed Debugging Assistants没关系吧?

回去到Oracle客户端程序看,居然是刚刚用SELECT …… FOR UPDATE更新相关表数据,用于调试Procedure,忘了commit,导致锁表了。

所以才DeadLock。 😅

1 条评论:

匿名 说...

When you land on this image, your reel stays put for quantity of} spins. They’re often exhausting to amass, however you want solely 퍼스트카지노 to match two icons to win if you do. All video games may be tailored to your model and needs.Furthermore, you've have} access to our back-office system, which presents extensive range|a variety} of choices and statistics. The Privacy Policy also units out the ways during which we could use your personal data. To read this in full, click on the Privacy Policy button found in this window.